Sengi-Windows-MacOS-Linux/.travis.yml

47 lines
741 B
YAML
Raw Normal View History

2019-04-05 06:17:04 +02:00
sudo: required
dist: trusty
language: c
matrix:
include:
- os: osx
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
node_js:
- 10.9.0
cache:
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- icnsutils
- graphicsmagick
- libgnome-keyring-dev
- xz-utils
- xorriso
- xvfb
install:
2019-04-05 06:24:04 +02:00
- nvm install 10.9.0
2019-04-05 06:17:04 +02:00
- npm install electron-builder@next
- npm install
2019-04-05 06:32:17 +02:00
- npm rebuild node-sass
2019-04-05 06:17:04 +02:00
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- sleep 3
script:
2020-02-28 06:19:18 +01:00
- npm run travis