Skip to content

Commit

Permalink
Refine coveralls conditionals on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteHaitch committed Nov 10, 2015
1 parent 5841a58 commit 026f347
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 026f347

Please sign in to comment.