Skip to content

Commit

Permalink
Only cover langdetect, not /home/travis/virtualenv/pythonx.y.z/* etc
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and DoodleBears committed Jun 30, 2024
1 parent beb1020 commit 09a67f1
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 @@ -22,8 +22,8 @@ install:
- if [ "$TRAVIS_PYTHON_VERSION" != "3.2" ]; then travis_retry pip install coverage; fi

script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then coverage run --omit=langdetect/tests/* -m unittest2 discover; fi
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then coverage run --omit=langdetect/tests/* -m unittest discover; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then coverage run --source=langdetect --omit=langdetect/tests/* -m unittest2 discover; fi
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then coverage run --source=langdetect/* --omit=langdetect/tests/* -m unittest discover; fi

after_success:
- pip install coveralls
Expand Down

0 comments on commit 09a67f1

Please sign in to comment.