tstainer/lbno-ND — pull request #1 by pwaller (2012-10-05 09:08:05+00:00)
Title: Automatically build with pull requests.

Click this:

[![Build Status](https://secure.travis-ci.org/pwaller/lbno-ND.png)](http://travis-ci.org/pwaller/lbno-ND)

So, now whenever you push or make a pull request, your code will be automatically built and run on travis. To enable this you need to [go here](https://travis-ci.org/profile), login with github, go to your profile and switch it on for your lbno-ND project.

I also introduced a new build system, because a Makefile with a hard coded path to your home directory doesn't cut it when you try running the code elsewhere. I chose waf because I'm familiar with it and I could make it quickly.

The magic happens because of the `.travis.yml` file which is a configuration file to tell travis how to build and run your code. It currently installs ROOT from Ubuntu's repositories (travis runs ubuntu), but for some reason there are some missing headers. I zipped these up from my system, shoved them on my webspace and made the `.travis.yml` go and fetch them. I suggest you copy that `.tar.bz2` file to your `~/www` and modify the travis configuration to point at `~tstainer` instead of `~pwaller`. I also set up the configuration file to e-mail me when there are build failures - you'll want to change that to your e-mail.

Hope this is helpful. I did it because I wish these things were available when I started :-)

Good luck.