Skip to content

Commit a93b9d8

Browse files
committed
try fix
1 parent 6e8e0d1 commit a93b9d8

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.travis.yml

-9
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@ install:
8585
- ci/submit_cython_cache.sh
8686
- echo "install done"
8787

88-
89-
before_script:
90-
# display server (for clipboard functionality) needs to be started here,
91-
# does not work if done in install:setup_env.sh (GH-26103)
92-
- export DISPLAY=":99.0"
93-
- echo "sh -e /etc/init.d/xvfb start"
94-
- if [ "$JOB" != "3.8-dev" ]; then sh -e /etc/init.d/xvfb start; fi
95-
- sleep 3
96-
9788
script:
9889
- echo "script start"
9990
- echo "$JOB"

ci/run_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ PYTEST_CMD="pytest -m \"$PATTERN\" -n auto --dist=loadfile -s --strict --duratio
2929

3030
# Travis does not have have an X server
3131
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
32-
DISPLAY=DISPLAY=:99.0
32+
export DISPLAY=:99.0
3333
PYTEST_CMD="xvfb-run -e /dev/stdout $PYTEST_CMD"
3434
fi
3535

0 commit comments

Comments
 (0)