correct deps install

This commit is contained in:
Luke Campagnola 2014-03-24 23:51:45 -04:00
parent 963a4211fc
commit bee0bcddfe
1 changed files with 11 additions and 9 deletions

View File

@ -38,23 +38,25 @@ before_install:
install:
- if [ "${PYTHON}" == "2.7" ]; then
pip install pytest &&
pip install flake8;
else
pip3 install pytest &&
pip3 install flake8;
fi;
# Dependencies
- if [ "${PYTHON}" == "2.7" ]; then
travis_retry sudo apt-get -qq -y install python-numpy;
sudo pip install pytest &&
sudo pip install flake8;
else
travis_retry sudo apt-get -qq -y install python3-numpy python3-pip;
sudo pip3 install pytest &&
sudo pip3 install flake8;
fi;
# Qt
- if [ "${PYTHON}" == "2.7" ]; then
if [ ${QT} == 'pyqt' ]; then
travis_retry sudo apt-get -qq -y install python-qt4 python-qt4-gl;
else
travis_retry sudo apt-get -qq -y install python-pyside.qtcore python-pyside.qtgui python-pyside.qtsvg python-pyside.qtopengl;
fi;
elif [ "${PYTHON}" == "3.3" ]; then
travis_retry sudo apt-get -qq -y install python3-numpy;
if [ ${QT} == 'pyqt' ]; then
travis_retry sudo apt-get -qq -y install python3-pyqt4;
elif [ ${QT} == 'pyside' ]; then