Simplify .travis.yml

This commit is contained in:
Takafumi Arakaki
2013-03-14 10:33:28 +01:00
parent 25d55d4124
commit 191e8f690b
+5 -11
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
export PIP_INSECURE=t;
fi
- pip install --use-mirrors tox - 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