Skip to content

Commit

Permalink
Only run MutPy on 3.2+
Browse files Browse the repository at this point in the history
MutPy is only compatible with Python 3.2 or later
  • Loading branch information
liam-m committed Jan 28, 2016
1 parent d16e566 commit 5176aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ python:
install:
- pip install coverage
- pip install pylint
- pip install mutpy
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install mutpy; fi
script:
- python test.py
- coverage run --include=primes.py,test.py,binary_search.py test.py && coverage report -m --fail-under=100 --rcfile=coveragerc
- python speed_test.py --all
- python speed_test.py --fermat 6
- pylint primes.py || true
- mut.py --target primes --unit-test test -m
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then mut.py --target primes --unit-test test -m; fi

0 comments on commit 5176aca

Please sign in to comment.