try another pyqt5 install method
This commit is contained in:
parent
422a792866
commit
b0e6c7cb94
@ -55,7 +55,10 @@ install:
|
||||
elif [ ${QT} == 'pyside' ]; then
|
||||
travis_retry sudo apt-get -qq -y install python3-pyside;
|
||||
else
|
||||
pip install PyQt5;
|
||||
echo 'deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted' >> /etc/apt/sources.list &&
|
||||
echo 'deb http://us.archive.ubuntu.com/ubuntu/ saucy universe' >> /etc/apt/sources.list &&
|
||||
sudo apt-get update &&
|
||||
sudo apt-get install python3-pyqt5;
|
||||
fi;
|
||||
else
|
||||
conda create -n testenv --yes --quiet pip python=$PYTHON &&
|
||||
|
@ -34,8 +34,10 @@ def unitTests():
|
||||
try:
|
||||
print("version:", sys.version[0])
|
||||
if sys.version[0] == 3:
|
||||
print("PY3 test")
|
||||
out = check_output('PYTHONPATH=. py.test-3', shell=True)
|
||||
else:
|
||||
print("PY2 test")
|
||||
out = check_output('PYTHONPATH=. py.test', shell=True)
|
||||
ret = 0
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user