mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
873badf389
* Spectron - Initial commit * Spectron - Only run unit tests on travis * Spectron - Update npm script to copy config and refactor * Spectron - Update readme * Spectron - update test cases * Spectron - Merge upstream Spectron * Spectron - Update spectron to 10.0.0 and fix issues * Spectron - rename travis file * Spectron - install linux specific dependency * Spectron - Fix indentation * Spectron - Fix indentation * Spectron - Remove unwanted script * fix typo
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
|