Skip to content

Commit

Permalink
Try to install PhantomJS from GitHub.
Browse files Browse the repository at this point in the history
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:
ariya/phantomjs#13953
  • Loading branch information
sapegin committed Oct 12, 2016
1 parent a32ca4c commit d54574f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d54574f

Please sign in to comment.