How to Manage Continuous Releases With Travis CI and Sentry.io


Here at Sentry, we use Travis CI, a continuous integration tool for GitHub that lets us automate our tests and view the results right within a pull request. In this blog post, we’ll walk through a quick example of how to automatically create Sentry Releases with Travis CI when a commit is pushed to your project’s master branch. 




 


0
 Advanced issue found

1


Note: since we support so many platforms, we use Travis CI to test out code in multiple environments in parallel. You can see the getsentry/sentry repo's Travis config file here if you're curious!

Setting up Your Travis CI Configuration File

If you’re new to Travis CI, take a look at their getting-started guide to set up your account. You’ll also need a GitHub repository to run Travis CI; it currently doesn’t support other platforms.

Travis configurations are defined in a .travis.yml file within your project’s repository. At minimum, you’ll need to set one of Travis CI’s supported programming languages and its version number. For example, here’s a super minimal config file using Node.js:

YAML