fix pytest install
This commit is contained in:
parent
88a13c1a71
commit
426578fa4c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user