alternate pip install method

This commit is contained in:
Luke Campagnola 2014-03-25 10:23:10 -04:00
parent bee0bcddfe
commit cf95ccef86
1 changed files with 11 additions and 10 deletions

View File

@ -40,13 +40,15 @@ before_install:
install:
# Dependencies
- if [ "${PYTHON}" == "2.7" ]; then
travis_retry sudo apt-get -qq -y install python-numpy;
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;
travis_retry sudo apt-get -qq -y install python3-numpy &&
curl http://python-distribute.org/distribute_setup.py | sudo python3 &&
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python3 &&
sudo pip-3.3 install pytest &&
sudo pip-3.3 install flake8;
fi;
# Qt
@ -78,15 +80,14 @@ install:
fi;
# Install PyOpenGL
- if [ "${DEPS}" == "full" ]; then
if [ "${PYTHON}" == "2.7" ]; then
echo "Using OpenGL stable version (repos)";
- if [ "${PYTHON}" == "2.7" ]; then
echo "Using OpenGL stable version (apt)";
travis_retry sudo apt-get -qq -y install python-opengl;
else
else
echo "Using OpenGL stable version (pip)";
pip install -q PyOpenGL;
fi;
pip-3.3 install -q PyOpenGL;
fi;
# Debugging helpers
- uname -a