MagicMirror/.travis.yml
Bas van Wetten 318c8c68b0 Change suggestion for e2e testing
- Changed global-setup.js to allow for easier test creation
- Changed each e2e test suite to work with new global-setup.js
- All tests (except for dev_console.js) now work with Travis CI
2017-07-23 23:06:27 +02:00

18 lines
257 B
YAML

language: node_js
node_js:
- "7"
- "6"
- "5.1"
before_script:
- npm install grunt-cli -g
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 5
script:
- grunt
- npm run test:unit
- npm run test:e2e
cache:
directories:
- node_modules