[devdocsgjs/main: 585/1867] Automatically check and upload on Travis CI cron job




commit b8a7965bfebea5c432832d8f7f3a5ee6a9cea39b
Author: Jasper van Merle <jaspervmerle gmail com>
Date:   Sat Mar 9 02:50:06 2019 +0100

    Automatically check and upload on Travis CI cron job

 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/.travis.yml b/.travis.yml
index d5e5a6aa..e8d3d588 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,3 +5,7 @@ cache: bundler
 before_script:
   - gem update --system
   - gem install bundler
+
+script:
+  - if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then bundle exec rake; fi
+  - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then bundle exec thor updates:check --github-token $GH_TOKEN 
--upload; fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]