mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Add osx support to .travis.yml
Change to run xvfb only linux
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
node_js:
|
node_js:
|
||||||
- 'stable'
|
- 'stable'
|
||||||
- 'lts/*'
|
- 'lts/*'
|
||||||
before_script:
|
before_script:
|
||||||
- 'npm install grunt-cli -g'
|
- 'npm install grunt-cli -g'
|
||||||
- 'export DISPLAY=:99.0'
|
- 'export DISPLAY=:99.0'
|
||||||
- 'sh -e /etc/init.d/xvfb start'
|
- 'if [ ${TRAVIS_OS_NAME} = "linux" ]; then sh -e /etc/init.d/xvfb start; fi'
|
||||||
- 'sleep 3'
|
- 'sleep 3'
|
||||||
script:
|
script:
|
||||||
- 'npm run lint'
|
- 'npm run lint'
|
||||||
|
|||||||
Reference in New Issue
Block a user