Skip to content

Commit

Permalink
Use mirror to download PhantomJS
Browse files Browse the repository at this point in the history
BitBucket download is really unreliable and fails our Ruby builds
  • Loading branch information
p0deje committed Jun 2, 2016
1 parent 8826009 commit f48a5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ script:
- |
if [[ $RB_FILES_CHANGED == rb/* ]]; then
export PHANTOMJS_NAME=phantomjs-2.1.1-linux-x86_64
curl -L -O "https://bitbucket.org/ariya/phantomjs/downloads/${PHANTOMJS_NAME}.tar.bz2"
curl -L -O "https://cnpmjs.org/mirrors/phantomjs/${PHANTOMJS_NAME}.tar.bz2"
tar -xvjf $PHANTOMJS_NAME.tar.bz2
chmod +x $PHANTOMJS_NAME/bin/phantomjs
mv $PHANTOMJS_NAME/bin/phantomjs chrome-linux/phantomjs
Expand Down

0 comments on commit f48a5c3

Please sign in to comment.