Vendor PhantomJS 2.1.1 in our repository

As of today Travis CI supports PhantomJS 1.9.
Previously, the CI script (in `.travis.yml`) tried to fetch it before
each build.

But this is inefficient and the official channel of distribution for
PhantomJS ofter drops the connection and the build fails miseably.

When Travis CI will support PhantomJS 2.1 we can remove it and review
the CI setup again.
This commit is contained in:
Luca Guidi 2016-10-20 12:13:06 +02:00
parent 0ce764923d
commit 98104ad086
2 changed files with 2 additions and 4 deletions

View File

@ -3,10 +3,8 @@ sudo: false
cache: bundler cache: bundler
install: true install: true
before_install: before_install:
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 - mkdir $PWD/vendor/phantomjs && tar -xjf $PWD/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/vendor/phantomjs --strip-components=1
- tar -xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 - export PATH=$PWD/vendor/phantomjs/bin:$PATH
- mv phantomjs-2.1.1-linux-x86_64 phantomjs
- export PATH=$PWD/phantomjs/bin:$PATH
- phantomjs --version - phantomjs --version
env: env:
global: global:

Binary file not shown.