Install your own PhantomJS on Travis CI
Failure/Error: And I am logged in as user "[email protected]" Capybara::Poltergeist::PhantomJSTooOld: PhantomJS version 1.6.1 is too old. You must use at least version 1.7.0
Fortunately Travis CI has made it easy and convenient to install any software you like on the virtual machine. So until the default is bumped to the required version of PhantomJS, add the following lines to your .travis.yml and you will be off and running with Poltergeist in no time.
before_install: - wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2 - tar -xf phantomjs-1.7.0-linux-i686.tar.bz2 - sudo rm -rf /usr/local/phantomjs - sudo mv phantomjs-1.7.0-linux-i686 /usr/local/phantomjs