diff --git a/.travis.yml b/.travis.yml index 3f85955..584cd60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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