summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-09-04 17:33:08 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-09-04 17:33:08 -0600
commitb38c2742acb6eefc1dd836ce33e2d5fd5b6a1304 (patch)
tree7f5fe45f958915b27ec5736787f6c64ae480b8c5 /Rakefile
parent825b07e08bdfe58a4063951b2b84f0d5f0400a1e (diff)
add note about TRAVIS_TOKEN
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 46013055..97d6bcbe 100644
--- a/Rakefile
+++ b/Rakefile
@@ -135,6 +135,8 @@ desc 'Trigger builds for all dependent projects on Travis CI'
ENV['TRAVIS_TAG'].to_s.empty? &&
(ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1')
end
+ # NOTE TRAVIS_TOKEN env var must be defined in Travis interface
+ # Retrieve this token using the `travis token` command.
next unless (token = ENV['TRAVIS_TOKEN'])
require 'json'
require 'net/http'