travis-ci/travis-cookbooks — pull request #37 by jonleighton (2012-03-24 18:55:53+00:00)
Title: PhantomJS 1.5.0

The not_if will trigger the download on PhantomJS 1.4.1 due to the lack of a running X server causing `phantomjs --version` to fail.

PhantomJS 1.5.0 is completely headless, so once it is installed, the `phantomjs --version` will succeed despite there being no running X server.