[2.7] Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)
(cherry picked from commit b12112b5ba
)
This commit is contained in:
parent
1fb24b6e83
commit
c5bc6e477e
|
@ -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:
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in New Issue