- workaround for tests
This commit is contained in:
parent
8ad80247b2
commit
eef4c3dd16
|
@ -85,6 +85,13 @@ function aptinstall() {
|
|||
fi
|
||||
}
|
||||
|
||||
function pyqt5() {
|
||||
# install pyqt5 on python > 3
|
||||
if [[ ! "$TRAVIS_PYTHON" == "2.7" ]]; then
|
||||
sudo apt -y install qtbase5-dev qt5-default
|
||||
fi
|
||||
}
|
||||
|
||||
function virtualenv_init() {
|
||||
# init virtualenv directory
|
||||
if [ -n "$3" ]; then
|
||||
|
@ -160,6 +167,7 @@ create_variables "$config_file" travis_
|
|||
rundir=$(pwd)
|
||||
|
||||
aptinstall
|
||||
pyqt5
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
if [[ "$(declare -p travis_python)" =~ "declare -a" ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user