added a display for the QT tests

This commit is contained in:
wiredfool 2016-10-28 02:00:12 -07:00
parent 8582144e0e
commit 23c1c2732a

View File

@ -48,6 +48,11 @@ install:
# libimagequant
- pushd depends && ./install_imagequant.sh && popd
before_script:
# QT needs a display for some of the tests, and it's only run on the system site packages install
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage erase; fi
- python setup.py clean