summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-09-04 20:55:12 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-09-04 20:55:12 -0600
commit550da4f0160f5607570c5fabcccf7b073422d18f (patch)
tree5d85f315e7a8df9a6322fe71dc1b011d43ed8596 /Rakefile
parenta77dbd8e91f819c4e3474854f422c33c324c9300 (diff)
clarify how to grant the Travis user permission to trigger the build
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 97d6bcbe..eb568e3e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -135,8 +135,10 @@ 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
+ # NOTE The TRAVIS_TOKEN env var must be defined in Travis interface.
# Retrieve this token using the `travis token` command.
+ # The GitHub user corresponding to the Travis user must have write access to the repository.
+ # After granting permission, sign into Travis and resync the repositories.
next unless (token = ENV['TRAVIS_TOKEN'])
require 'json'
require 'net/http'