Skip to content

Commit

Permalink
Attempt to fix .travis.yml
Browse files Browse the repository at this point in the history
sh: 0: Can't open /etc/init.d/xvfb
SublimeText/UnitTesting#163
  • Loading branch information
evandrocoan committed Aug 9, 2019
1 parent a54da83 commit c33737d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Expand Up @@ -8,6 +8,11 @@ env:
# - UNITTESTING_TAG="master"


# https://github.com/SublimeText/UnitTesting/issues/163
services:
- xvfb


# mutliple os matrix
# https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages)
matrix:
Expand Down Expand Up @@ -75,12 +80,6 @@ before_install:
python3 --version;
fi

# enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers
- if [ -z "$TOXENV" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi


install:
- if ! [ -z "$TOXENV" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
Expand Down

0 comments on commit c33737d

Please sign in to comment.