mbostock/d3 — pull request #503 by johan (2012-02-14 08:43:31+00:00)
Title: Continuous integration tracking with Travis

It would be neat to have the automated tests run on d3, and tracking over time of how they fare. Travis provides this for free, and I just went through the easy http://about.travis-ci.org/docs/user/getting-started/ guide to try setting it up for my d3 fork. My output from the two last test commits is here (and this view is also the main feature I personally seek):

http://travis-ci.org/#!/johan/d3/builds

…which also showed up like this in the Freenode IRC channel #d3-travis I noted for live notifications of the build bots:

09:09 travis-ci has joined (~travis-ci@ec2-174-129-114-189.compute-1.amazonaws.com)
09:09 travis-ci: [travis-ci] johan/d3#1 (master - 1db25aa : Johan Sundström): The build passed.
09:09 travis-ci: [travis-ci] Change view : https://github.com/johan/d3/compare/d86074b...1db25aa
09:09 travis-ci: [travis-ci] Build details : http://travis-ci.org/johan/d3/builds/675203
09:09 travis-ci has left ()
09:17 travis-ci has joined (~travis-ci@ec2-174-129-114-189.compute-1.amazonaws.com)
09:17 travis-ci: [travis-ci] johan/d3#2 (master - 3f5c60d : Johan Sundström): The build was broken.
09:17 travis-ci: [travis-ci] Change view : https://github.com/johan/d3/compare/1db25aa...3f5c60d
09:17 travis-ci: [travis-ci] Build details : http://travis-ci.org/johan/d3/builds/675220
09:17 travis-ci has left ()

...and like this, in the build hook emails I tested (all notification setup is in .travis.yml): http://mailinator.com/maildir.jsp?email=d3-travis

It might of course be worth turning off testing on node.js 0.7 (I tried it to see how it fared) and perhaps tweak other Travis config flags as per http://about.travis-ci.org/docs/user/build-configuration/ at your discretion. :-)