Skip to content

Commit

Permalink
Simplifies .travis.yml file
Browse files Browse the repository at this point in the history
Uses `service` section for `xvfb`, also note that the service already
exports `DISPLAY` for us, refs:
https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui
  • Loading branch information
AndreMiras committed Oct 10, 2019
1 parent 1777b96 commit 93edb52
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ language: generic

services:
- docker

env:
- DISPLAY=:99.0

install:
- sudo apt update -qq > /dev/null
- sudo apt install --yes --no-install-recommends xvfb
- xvfb

before_script:
- sh -e /etc/init.d/xvfb start
- make docker/pull
- make docker/build

Expand Down

0 comments on commit 93edb52

Please sign in to comment.