travis-ci/travis-cookbooks — comment on commit 9dd192a73db1db1840a59a6b2ce334832152c04d
File:  line 0
By jonleighton:

@parndt asked me to comment here...

This ppa provides an old PhantomJS version (1.3.0). The current is 1.4.1. If people want to use [poltergeist](https://github.com/jonleighton/poltergeist), they need 1.4.1. There is now a [precompiled tarball for Linux](http://code.google.com/p/phantomjs/downloads/detail?name=phantomjs-1.4.1-linux-x86-dynamic.tar.gz) available, so the best way would be to download that and symbolically link the binary into the PATH.

FWIW I have been [trying](https://github.com/jonleighton/poltergeist/commits/) to get poltergeist tests running on travis, by installing phantomjs in a before_script. I'm having some trouble with it behaving erratically - it seems to sometimes connect to the Xvfb server and sometimes fail. If phantomjs can't find the X server it will just exit with status 1, but not show any error message (which is a bit annoying, but just a heads up).

Also: it's a bad idea to compile PhantomJS 1.4.1 against system Qt libs, explanation in the [poltergeist README](https://github.com/jonleighton/poltergeist/blob/master/README.md).