bitwiseshiftleft/sjcl — pull request #109 by lgarron (2013-10-13 04:21:50+00:00)
Title: Travis CI Support (Free Test Server)

I just found discovered that [Travis CI] is free for open-source project, and very easy to use.

All that's necessary is:
- Add a `.travis.yml` file to the repo.
- Somebody with admin privileges for the project signs up for https://travis-ci.org/ (using GitHub) and enables it for the project.

Then any commit or pull request associated with the repository triggers Travis CI to run unit tests immediately, and the results show up with nice little indicators on GitHub (as well as being visible on Travis CI and emailed to contributors).

I had to modify the Rhino tests to throw an exception in case of failure, but it's reporting the build status correctly for my fork: https://travis-ci.org/lgarron/sjcl/builds
Successful build: https://travis-ci.org/lgarron/sjcl/builds/12475415
Failed build: https://travis-ci.org/lgarron/sjcl/builds/12475430

(Tests should probably be moved to `node.js`, which should be faster -- and natively supported by Travis. But I didn't want to do that simultaneously.)