Skip to content

Commit

Permalink
travis: use xvfb service
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 18, 2019
1 parent 1e193eb commit 180755b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
env:
global:
- DISPLAY=":99.0"
notifications:
webhooks:
- https://webhook.commit-email.info/
Expand All @@ -17,16 +14,14 @@ addons:
- dbus-x11
# - python-blockdiag
- python-pip
services:
- xvfb
matrix:
allow_failures:
- rvm: ruby-head
fast_finish: true
before_install:
- gem update bundler
- sudo -H pip install blockdiag
before_script:
- sh -e /etc/init.d/xvfb start
script:
- dbus-launch bundle exec rake
after_script:
- sh -e /etc/init.d/xvfb stop

0 comments on commit 180755b

Please sign in to comment.