From 38f5940ed78adfc47e4c9682bc31b4b7ef8cec70 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 5 Mar 2017 23:01:32 -0500 Subject: Travis fixes: get 3.6 installed; use conditional that works --- .travis.yml | 20 +++++++++++--------- 1 file 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 -- cgit v1.2.1