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
commite37a51f6aaccf85e9ba713ba9cd765e12de02fd3 (patch)
treecbe55bfcdc2a19461853104035a7e801c110a344
parent198de0dc4ea3c7a57703b79baee4978c613c2214 (diff)
downloadpython-coveragepy-e37a51f6aaccf85e9ba713ba9cd765e12de02fd3.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 162d162..6579626 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