Skip to content

Commit

Permalink
chore: travis - upgrade on new version Ubuntu 16.04 (#3371)
Browse files Browse the repository at this point in the history
Since of May 2019 by default start Ubuntu Xenial 16.04
https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
and also since Ubuntu 16.04 you can start xvfb as services
https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui
  • Loading branch information
anthony-redFox authored and johnjbarton committed Oct 10, 2019
1 parent eab7e5b commit f2eba15
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Expand Up @@ -29,10 +29,10 @@ addons:
packages:
- g++-4.8

services:
- xvfb

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # Give xvfb time to to start
- npm run init
- export $(openssl aes-256-cbc -pass env:CREDENTIALS_PASS -d -in credentials)
- echo "TRAVIS_COMMIT $TRAVIS_COMMIT"
Expand All @@ -43,6 +43,4 @@ before_script:
- 'if [ "$LINT" == "true" ]; then npm run lint; fi'

script:
- npm run travis

dist: trusty # Impacts this script, eg xvfb
- npm run travis

0 comments on commit f2eba15

Please sign in to comment.