Skip to content

Instantly share code, notes, and snippets.

@lucamartellucci
Last active April 7, 2016 06:40
Show Gist options
  • Save lucamartellucci/eb0aa7b6680e392ce9a54f0b891e4953 to your computer and use it in GitHub Desktop.
Save lucamartellucci/eb0aa7b6680e392ce9a54f0b891e4953 to your computer and use it in GitHub Desktop.

Travis & Slack Integration

  • Go to the slack website and add a new Travis CI integration.
  • Slack will provide a snippet of configuration for your .travis.yml file:
notifications:
  slack: <account>:<token>
  • If you want to host the source code of your application to public repositories the best practice is to encrypt the pair <account>:<token> with the Travis CI CLI:
$ travis encrypt "<account>:<token>" --add notifications.slack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment