Skip to content

Commit

Permalink
fix(travis): use service: xvfb instead of launching it manually. inst…
Browse files Browse the repository at this point in the history
…all libgconf debian package
  • Loading branch information
christopherthielen committed Sep 2, 2019
1 parent 9f9da97 commit e85f678
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
language: node_js
node_js: 10.16.0
services:
- xvfb
before_install:
- sh -e /etc/init.d/xvfb start
- export PATH=$HOME/.yarn/bin:$PATH
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
- sudo apt-get install libgconf-2-4
- sh -e /etc/init.d/xvfb start
- export PATH=$HOME/.yarn/bin:$PATH
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
script:
- tsc &&
yarn test &&
yarn test:downstream
- tsc &&
yarn test &&
yarn test:downstream
notifications:
slack:
on_success: never
Expand All @@ -18,5 +21,5 @@ git:
depth: 3
cache:
directories:
- node_modules
- ".downstream_cache"
- node_modules
- '.downstream_cache'

0 comments on commit e85f678

Please sign in to comment.