Modify python xvfbwrapper

- install through pip instead of apt
This commit is contained in:
Peter Šurda 2021-08-26 21:19:07 +08:00
parent 656098a451
commit 0fb6628b47
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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