travis: fix missing ; for export, and it was using Python 3.7 instead of the wanted 3.5

This commit is contained in:
Mathieu Virbel 2019-02-25 14:07:01 +01:00 committed by Mathieu Virbel
parent 9add3e4210
commit 04b4f83dc1
1 changed files with 2 additions and 2 deletions

View File

@ -111,13 +111,13 @@ install:
fi;
if [ "${RUN}" == "unit" ]; then
if [ "${PY}" == "3" ]; then
export PATH=$PATH:$HOME/Library/Python/3.5/bin
export PATH=$PATH:$HOME/Library/Python/3.5/bin;
curl -O -L https://www.python.org/ftp/python/3.5.2/python-3.5.2-macosx10.6.pkg;
sudo installer -package python-3.5.2-macosx10.6.pkg -target /;
python3 get-pip.py --user;
python3 -m pip install --upgrade --user cython pillow pytest mock docutils PyInstaller;
else
export PATH=$PATH:$HOME/Library/Python/2.7/bin
export PATH=$PATH:$HOME/Library/Python/2.7/bin;
python get-pip.py --user;
python -m pip install --upgrade --user cython pillow pytest mock docutils PyInstaller;
fi;