Skip to content

Commit b8a7965

Browse files
committed
Automatically check and upload on Travis CI cron job
1 parent 3dc17a9 commit b8a7965

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ cache: bundler
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

0 commit comments

Comments
 (0)