fix(travis): Added xvfb service to travis config (#203)

This commit is contained in:
Luca Greco 2019-09-24 21:20:42 +02:00 committed by GitHub
parent 04a9e3a223
commit 06ebcbd07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,6 @@ script:
npm install -g browserify webpack webpack-cli && npm install -g browserify webpack webpack-cli &&
node ./scripts/run-module-bundlers-smoketests.js node ./scripts/run-module-bundlers-smoketests.js
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- echo "RUN integration tests on real browsers" && - echo "RUN integration tests on real browsers" &&
TRAVIS_CI=true node ./scripts/run-browsers-smoketests.js TRAVIS_CI=true node ./scripts/run-browsers-smoketests.js
@ -23,6 +22,8 @@ addons:
firefox: 'latest' firefox: 'latest'
chrome: 'stable' chrome: 'stable'
services: ["xvfb"]
after_script: npm run publish-coverage after_script: npm run publish-coverage
notifications: notifications: