On Xenial, xvfb is started by 'services: xvfb' and not '/etc/init.d/xvfb start'

This commit is contained in:
Hugo 2019-04-01 16:49:36 +03:00
parent 228056d798
commit 69905fbb70

View File

@ -60,14 +60,6 @@ install:
.travis/install.sh;
fi
before_script:
# Qt needs a display for some of the tests, and it's only run on the system site packages install
- |
if [ "$TRAVIS_JOB_NAME" == "2.7_with_system_site_packages Xenial" ]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
fi
script:
- |
if [ "$LINT" == "true" ]; then