diff --git a/.travis.yml b/.travis.yml index f038a1dd..ac6a1bf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,10 +3,8 @@ sudo: false cache: bundler install: true before_install: - - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 - - tar -xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 - - mv phantomjs-2.1.1-linux-x86_64 phantomjs - - export PATH=$PWD/phantomjs/bin:$PATH + - mkdir $PWD/vendor/phantomjs && tar -xjf $PWD/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/vendor/phantomjs --strip-components=1 + - export PATH=$PWD/vendor/phantomjs/bin:$PATH - phantomjs --version env: global: diff --git a/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 b/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 new file mode 100644 index 00000000..0281fb85 Binary files /dev/null and b/vendor/phantomjs-2.1.1-linux-x86_64.tar.bz2 differ