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

Commit 5539916

Browse files
fix(travis): download PhantomJS2 from bitBucket
1 parent 0b5fa37 commit 5539916

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ branches:
2424
before_install:
2525
# configure phantomjs2
2626
- mkdir travis-phantomjs
27-
- 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
28-
- tar -xvf $PWD/node_modules/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/node_modules/travis-phantomjs
29-
- export PHANTOMJS_BIN=$PWD/node_modules/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs
27+
- 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
28+
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
29+
- export PHANTOMJS_BIN=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin/phantomjs
30+
31+
install:
32+
- npm install
3033

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

0 commit comments

Comments
 (0)