gem install travis
travis login --pro
It will prompt you for the following:
- GitHub/Travis Username.
- GitHub/Travis Password.
- GitHub/Travis two factor authentication key.
travis encrypt --pro <Webhook URL>
secure: "<generated key>"
It should look like:
notifications:
webhooks:
secure: "<generated key>"