install python 3.4 only if toxenv is py34

This commit is contained in:
ColinDuquesnoy
2014-03-18 21:47:24 +01:00
parent 666d037022
commit b18b3e3edd
+5 -3
View File
@@ -16,9 +16,11 @@ matrix:
install: install:
- pip install --quiet --use-mirrors tox - pip install --quiet --use-mirrors tox
# install python 3.4 from PPA since Travis does not have python 3.4 yet # install python 3.4 from PPA since Travis does not have python 3.4 yet
- sudo apt-add-repository -y ppa:fkrull/deadsnakes - if [ "$TOXENV" = "py34" ]; then
- sudo apt-get update sudo apt-add-repository -y ppa:fkrull/deadsnakes;
- sudo apt-get install python3.4 sudo apt-get update;
sudo apt-get install python3.4;
fi
script: script:
- tox - tox
after_script: after_script: