mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
Only start Xvfb for Qt builds
This commit is contained in:
parent
811a6ae9f2
commit
ea60256b3b
|
@ -77,8 +77,11 @@ before_install:
|
|||
|
||||
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"
|
||||
- |
|
||||
if [ "$TRAVIS_PYTHON_VERSION" == "2.7_with_system_site_packages" ]; then
|
||||
export DISPLAY=:99.0
|
||||
sh -e /etc/init.d/xvfb start
|
||||
fi
|
||||
|
||||
script:
|
||||
- |
|
||||
|
|
Loading…
Reference in New Issue
Block a user