The docs would indicate that following is more than sufficient for running 2.0
The below is using the Travis distribution which is a temporary build TravisCI created to support phantom on linux machines.
machine: node: version: 4.1.1 pre: - curl -k -L -o phantomjs.tar.bz2 https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 - tar -jxf phantomjs.tar.bz2
But this leads to
1.9.8 still being used. I’ve tried various means of extracting it into a specific directory and then setting an
environment variable, but that hasn’t worked either. Has anyone gotten PhantomJS 2.0 to run with CircleCI?