diff --git a/.travis.yml b/.travis.yml index 5ca61af..a055504 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,11 @@ before_install: - echo "$TRAVIS_COMMIT_MESSAGE" script: - 'if [[ "$TRAVIS_EVENT_TYPE" = "cron" || "$TRAVIS_COMMIT_MESSAGE" == *"[ci-cron]"* ]]; then - python -m unittest discover test_sync --logginglevel debug; + export NYNAB_LOGGINGLEVEL=debug; + python -m unittest discover test_sync; else - coverage run -m unittest discover tests/ --logginglevel debug; + export NYNAB_LOGGINGLEVEL=debug; + coverage run -m unittest discover tests; fi' - ( if [ -n "$TRAVIS_TAG" ]; then if [ $TAG_NAME != $TRAVIS_TAG ]; then echo "This tag is for the wrong version. Got \"$TRAVIS_TAG\" expected \"$TAG_NAME\"."; exit 1; fi; fi; ) after_success: