forked from Bitmessage/buildbot-scripts
Modify python xvfbwrapper
- install through pip instead of apt
This commit is contained in:
parent
656098a451
commit
0fb6628b47
|
@ -89,7 +89,6 @@ function pyqt5() {
|
||||||
# install pyqt5 on python > 3
|
# install pyqt5 on python > 3
|
||||||
if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then
|
if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then
|
||||||
sudo apt -y install qtbase5-dev qt5-default
|
sudo apt -y install qtbase5-dev qt5-default
|
||||||
sudo apt -y install python3-xvfbwrapper
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,6 +199,9 @@ if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
|
||||||
virtualenv_init "$ppath" "$pv"
|
virtualenv_init "$ppath" "$pv"
|
||||||
fi
|
fi
|
||||||
virtualenv_activate "$pv"
|
virtualenv_activate "$pv"
|
||||||
|
if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then
|
||||||
|
pip install xvfbwrapper
|
||||||
|
fi
|
||||||
python_run "$ppath" "$pv"
|
python_run "$ppath" "$pv"
|
||||||
deactivate
|
deactivate
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user