Do you have an open source project written in Scala? (Well done!) Travis CI offers a hosted continuous integration for the open source community, and they support Scala projects.
Setting up continuous integration with GitHub is super-easy. Simply add a .travis.yml
file to your project, telling Travis that it’s written in Scala, and optionally defining the Scala version to use. That’s it! Travis is pretty smart and will figure out by itself if you chose SBT or Maven :)
1 2 3 4 |
|
Then, simply log in to travis-ci.org with your GitHub account and enable continuous integration for your project from the Travis profile page.
Once authorized to your GitHub account, Travis will add a commit hook that builds your project each time you commit code. A nice touch is adding the Travis CI build status to your README file by using the build status images, like the one below.