Travis is a great way to make sure that all your tests pass. It works like that:
You commit something in Git and then push it to Github
Travis will see that and start running your test suite on their computers
Travis will see if the tests passed or did not pass – if it doesn't pass you will get an email
This helps you to maintain what we call a 'green build'. That means that all your tests always pass on your master branch.
If you like that, then the following steps need to be done:
Find a single command in the terminal to run all tests
Sign up with travis
Activate webhooks
Set up a .travis.yml file in your project which tells travis how to run the tests (from step 1 – this is the script part) and that it is a Ruby project.
Push :+1: Travis should give you feedback now!
Be amazed.
This is described in detail here. If you want more hints at one of the steps, just ask :smile:
Travis is a great way to make sure that all your tests pass. It works like that:
This helps you to maintain what we call a 'green build'. That means that all your tests always pass on your master branch.
If you like that, then the following steps need to be done:
.travis.yml
file in your project which tells travis how to run the tests (from step 1 – this is thescript
part) and that it is a Ruby project.This is described in detail here. If you want more hints at one of the steps, just ask :smile: