Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(travis): download PhantomJS2 from bitBucket
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Feb 23, 2016
1 parent 0b5fa37 commit 5539916
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ branches:
before_install:
# configure phantomjs2
- mkdir travis-phantomjs
- wget http://ngmaterial.assets.s3.amazonaws.com/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/node_modules/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
- tar -xvf $PWD/node_modules/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/node_modules/travis-phantomjs
- export PHANTOMJS_BIN=$PWD/node_modules/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/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
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
- export PHANTOMJS_BIN=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs

install:
- npm install

before_script:
# Necessary to run test on Travis CI that require a graphical interface.
Expand Down

0 comments on commit 5539916

Please sign in to comment.