From 7edc5aac2fe8e3d61090fc94bb225e57a1ac6978 Mon Sep 17 00:00:00 2001 From: rienafairefr Date: Thu, 20 Oct 2016 14:11:30 +0200 Subject: [PATCH] [ci-cron] --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: