Merge pull request #167 from tkf/simplify-travis-yml

Simplify .travis.yml
This commit is contained in:
David Halter
2013-03-14 08:02:03 -07:00
+6 -12
View File
@@ -1,16 +1,10 @@
language: python language: python
python: env:
- 2.5 - TOXENV=py25 PIP_INSECURE=t
- 2.6 - TOXENV=py26
- 2.7 - TOXENV=py27
- 3.2 - TOXENV=py32
install: install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then - pip install --quiet --use-mirrors tox
export PIP_INSECURE=t;
fi
- pip install --use-mirrors tox
script: script:
- export TOXENV=$(echo "$TRAVIS_PYTHON_VERSION" |
sed --regexp-extended 's/([0-9])\.([0-9])/py\1\2/g')
- echo "TOXENV=$TOXENV"
- tox - tox