mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-29 12:14:00 -06:00
40 lines
536 B
YAML
40 lines
536 B
YAML
|
env:
|
||
|
global:
|
||
|
- ELECTRON_QA="true"
|
||
|
- npm config set package-lock false
|
||
|
|
||
|
os:
|
||
|
- osx
|
||
|
|
||
|
compiler:
|
||
|
- gcc
|
||
|
|
||
|
language: node_js
|
||
|
|
||
|
node_js:
|
||
|
- '12.13.0'
|
||
|
|
||
|
addons:
|
||
|
chrome: stable
|
||
|
apt:
|
||
|
packages:
|
||
|
- xvfb
|
||
|
|
||
|
before_install:
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||
|
|
||
|
install:
|
||
|
- export DISPLAY=':99.0'
|
||
|
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||
|
- npm install
|
||
|
|
||
|
script:
|
||
|
- node --version
|
||
|
- npm --version
|
||
|
- npm run rebuild
|
||
|
- npm run test:spectron
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- node_modules
|