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 ea53463 commit fb48a4a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
language: node_js
node_js: 8.9.1
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
- export PATH=$HOME/.yarn/bin:$PATH
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
script:
- yarn build &&
yarn test &&
yarn test:downstream
- yarn build &&
yarn test &&
yarn test:downstream
notifications:
slack:
on_success: never
Expand All @@ -18,5 +20,5 @@ git:
depth: 3
cache:
directories:
- node_modules
- ".downstream_cache"
- node_modules
- '.downstream_cache'

0 comments on commit fb48a4a

Please sign in to comment.