-
Notifications
You must be signed in to change notification settings - Fork 5
Tips
keita-koga edited this page Jun 17, 2018
·
2 revisions
gem install travis --no-rdoc --no-ri
We will use travis encrypt
.
In the example below, two variables PHP_JSON_LOGGER_SLACK_TOKEN
and PHP_JSON_LOGGER_SLACK_CHANNEL
are encrypted.
travis encrypt PHP_JSON_LOGGER_SLACK_TOKEN=SecretToken PHP_JSON_LOGGER_SLACK_CHANNEL=#test-channel
Write to .travis.yml
.
env:
global:
secure: "Write the result of `travis encrypt`."