try another pyqt5 install method

This commit is contained in:
Luke Campagnola 2014-03-24 23:25:34 -04:00
parent 422a792866
commit b0e6c7cb94
2 changed files with 6 additions and 1 deletions

View File

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

View File

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