Skip to content

Commit

Permalink
Simplify unittest command
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainDe committed Feb 16, 2016
1 parent 416a379 commit 3673977
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 @@ -26,8 +26,8 @@ before_script:
- pep257 *.py */*.py

script:
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage run -m unittest2.__main__ discover --start-directory=didyoumean --pattern=*.py; fi
- if [ "$TRAVIS_PYTHON_VERSION" == "nightly" ]; then python -m unittest2.__main__ discover --start-directory=didyoumean --pattern=*.py; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage run -m unittest discover --start-directory=didyoumean --pattern=*.py; fi
- if [ "$TRAVIS_PYTHON_VERSION" == "nightly" ]; then python -m unittest discover --start-directory=didyoumean --pattern=*.py; fi
- python didyoumean/readme_examples.py

after_success:
Expand Down

0 comments on commit 3673977

Please sign in to comment.