History

Automatically check and upload on Travis CI cron job

Jasper van Merle committed 7 years ago

Commit b8a79651 parent 3dc17a91 file · +4 −0Browse files

Unified · Split

.travis.yml+4−0
@@ -5,3 +5,7 @@ cache: bundler · 4 unmodified lines
55 before_script:
66 - gem update --system
77 - gem install bundler
8+
9+script:
10+ - if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec rake; fi
11+ - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec thor updates:check --github-token $GH_TOKEN --upload; fi