Commit c5bc6e47 authored by Zachary Ware's avatar Zachary Ware Committed by GitHub

[2.7] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)

(cherry picked from commit b12112b5)
parent 1fb24b6e
...@@ -31,6 +31,10 @@ matrix: ...@@ -31,6 +31,10 @@ matrix:
# compiler here and the other to run the coverage build. Clang is preferred # compiler here and the other to run the coverage build. Clang is preferred
# in this instance for its better error messages. # in this instance for its better error messages.
env: TESTING=cpython env: TESTING=cpython
addons:
apt:
packages:
- xvfb
- os: linux - os: linux
language: python language: python
python: 2.7 python: 2.7
...@@ -91,7 +95,7 @@ script: ...@@ -91,7 +95,7 @@ script:
# Check that all symbols exported by libpython start with "Py" or "_Py" # Check that all symbols exported by libpython start with "Py" or "_Py"
- make smelly - make smelly
# `-r -w` implicitly provided through `make buildbottest`. # `-r -w` implicitly provided through `make buildbottest`.
- make buildbottest TESTOPTS="-j4 -uall,-cpu" - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then XVFB_RUN=xvfb-run; fi; $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
notifications: notifications:
email: false email: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment