summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-31 15:30:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-31 15:30:27 -0400
commit0b1b248b587b7b796236cfc365f6f0dffb226743 (patch)
tree1cb6206362b1d184d3fa913ee3b3953c2996cea3
parent20a3bab7caf180dcf9154495e9a2fcfe413e00b0 (diff)
downloadpython-coveragepy-git-0b1b248b587b7b796236cfc365f6f0dffb226743.tar.gz
A simpler .travis.yml file
-rw-r--r--.travis.yml21
1 files changed, 8 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index be931e7c..c12107fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,22 +6,17 @@ language: python
sudo: false
python:
- - 2.6
- 2.7
- - 3.3
- - 3.4
- - pypy
+
+env:
+ - TOXENV=py26
+ - TOXENV=py27
+ - TOXENV=py33
+ - TOXENV=py34
+ - TOXENV=pypy
install:
- pip install tox==2.1.1
- - python setup.py clean develop
-
-before_script:
- - coverage debug sys
script:
- - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then tox -e py26; fi
- - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then tox -e py27; fi
- - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then tox -e py33; fi
- - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then tox -e py34; fi
- - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then tox -e pypy; fi
+ - tox