fix pytest install

This commit is contained in:
Luke Campagnola 2014-03-26 07:39:19 -04:00
parent 88a13c1a71
commit 426578fa4c
1 changed files with 4 additions and 4 deletions

View File

@ -41,17 +41,17 @@ install:
# Dependencies
- if [ "${PYTHON}" == "2.7" ]; then
travis_retry sudo apt-get -qq -y install python-numpy &&
export PIP=pip;
export PIP=pip &&
sudo ${PIP} install pytest &&
sudo ${PIP} install flake8;
sudo ${PIP} install flake8 &&
export PYTEST=py.test;
else
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 &&
export PIP=pip3.2
export PIP=pip3.2 &&
sudo ${PIP} install pytest &&
sudo ${PIP} install flake8;
sudo ${PIP} install flake8 &&
export PYTEST=py.test-3.2;
fi;