Travis is a public continuous integration service that allows you to run your project's unit tests automatically in the cloud. Continuous integration is a mechanism for doing various things against every new version of your code. It's generally used to maintain quality by automatically running builds and automatic tests, but can also be used for creating builds and even deploying them in staging or live environments. We'll focus on automatic running of unit tests here.
GitHub has integration to Travis, which runs arbitrary tests there for every commit. Here's what you need to make this happen:
- Your project in GitHub
- An account in Travis (you may use your GitHub account for this)
- Your project registered in Travis