summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-03-05 23:01:32 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-03-05 23:01:32 -0500
commit38f5940ed78adfc47e4c9682bc31b4b7ef8cec70 (patch)
tree168166b4c161a37876614956830a9b0001a344be
parentced3567f9eafec06cfa61583cac19161c0a330de (diff)
downloadpython-coveragepy-git-38f5940ed78adfc47e4c9682bc31b4b7ef8cec70.tar.gz
Travis fixes: get 3.6 installed; use conditional that works
-rw-r--r--.travis.yml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 162d1627..6579626a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,12 +9,14 @@ python:
- 2.7
addons:
- apt:
- sources:
- - deadsnakes
- packages:
- - python3.5
- - python3.5-dev
+ apt:
+ sources:
+ - deadsnakes
+ packages:
+ - python3.5
+ - python3.5-dev
+ - python3.6
+ - python3.6-dev
env:
- TOXENV=py26
@@ -39,6 +41,6 @@ install:
script:
- tox
- - if [ $COVERAGE_COVERAGE == 'yes' ]; then python igor.py combine_html; fi
- - if [ $COVERAGE_COVERAGE == 'yes' ]; then pip install codecov; fi
- - if [ $COVERAGE_COVERAGE == 'yes' ]; then codecov; fi
+ - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then python igor.py combine_html; fi
+ - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then pip install codecov; fi
+ - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then codecov; fi