Like http://ariya.ofilabs.com/2012/03/phantomjs-and-travis-ci.html