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 3, 2019
1 parent 673ba69 commit 07e6fb6
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
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:
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package .downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
- tsc &&
yarn test &&
yarn docs &&
yarn test:downstream
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package .downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
- tsc &&
yarn test &&
yarn docs &&
yarn test:downstream
env:
matrix:
- CORE_BRANCH=
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
- CORE_BRANCH=
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
notifications:
slack:
on_success: never
Expand All @@ -24,5 +26,5 @@ git:
depth: 3
cache:
directories:
- node_modules
- ".downstream_cache"
- node_modules
- '.downstream_cache'

0 comments on commit 07e6fb6

Please sign in to comment.