From 0fb6628b47617eb66b34a80f9af8fcd51aaf2af8 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Thu, 26 Aug 2021 21:19:07 +0800 Subject: [PATCH] Modify python xvfbwrapper - install through pip instead of apt --- travis2bash.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis2bash.sh b/travis2bash.sh index 25b70c5..37b92d9 100755 --- a/travis2bash.sh +++ b/travis2bash.sh @@ -89,7 +89,6 @@ function pyqt5() { # install pyqt5 on python > 3 if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then sudo apt -y install qtbase5-dev qt5-default - sudo apt -y install python3-xvfbwrapper fi } @@ -200,6 +199,9 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then virtualenv_init "$ppath" "$pv" fi virtualenv_activate "$pv" + if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then + pip install xvfbwrapper + fi python_run "$ppath" "$pv" deactivate done