1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
Files
Boostnote/.travis.yml
asmsuechan 098153b6ba Add osx support to .travis.yml
Change to run xvfb only linux
2017-04-25 09:19:46 -07:00

20 lines
394 B
YAML

language: node_js
os:
- linux
- osx
node_js:
- 'stable'
- 'lts/*'
before_script:
- 'npm install grunt-cli -g'
- 'export DISPLAY=:99.0'
- 'if [ ${TRAVIS_OS_NAME} = "linux" ]; then sh -e /etc/init.d/xvfb start; fi'
- 'sleep 3'
script:
- 'npm run lint'
- 'npm run test'
- 'if [ ${TRAVIS_NODE_VERSION} = "stable" ]; then
grunt pre-build;
npm run test:e2e;
fi'