From d54574f5340e95b3d7c653a31ec91dd154cd5f8a Mon Sep 17 00:00:00 2001 From: Artem Sapegin Date: Wed, 12 Oct 2016 15:45:57 +0200 Subject: [PATCH] Try to install PhantomJS from GitHub. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bitbucket is very unreliable. Most of our builds are failed because PhantomJS can’t be downloaded. PhantomJS maintainers are looking for alternative solutions, Medium/phantomjs repo is a temporary workaround: https://github.com/ariya/phantomjs/issues/13953 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3a8bf26de..4028a8474 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,8 @@ before_script: before_install: # Update npm to version 3 - npm install -g npm@'>=3' - # Install PhantomJS + # Install PhantomJS from https://github.com/Medium/phantomjs - mkdir travis-phantomjs - - wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 + - wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 - tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs - export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH