From 026f347ffaaa3e7987135fbb87e6062e3e331802 Mon Sep 17 00:00:00 2001 From: Peter Hickey Date: Wed, 11 Nov 2015 10:38:27 +1100 Subject: [PATCH] Refine coveralls conditionals on Travis --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 167860a..ca736ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,12 @@ python: install: - python setup.py install - - pip install coveralls + # The coveralls Python module does not support Python 3.2. + - if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then pip install coveralls; fi script: - python setup.py test - - coverage run --source=methtuple setup.py test + # The coverage Python module does not support Python 3.2. + - if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then coverage run --source=methtuple setup.py test; fi after_success: # The coveralls Python module does not support Python 3.2. - if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then; coveralls; fi