Skip to content

Commit

Permalink
[ci-cron]
Browse files Browse the repository at this point in the history
  • Loading branch information
rienafairefr committed Oct 20, 2016
1 parent 4e0f6f1 commit 7edc5aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7edc5aa

Please sign in to comment.