Skip to content

Commit f2748d8

Browse files
committed
Merge pull request #4169 from Turbo87/phantom-travis
Simplify PhantomJS installation on TravisCI
2 parents 2d34339 + 87c4024 commit f2748d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ sudo: false
44
node_js:
55
- "4.2"
66
before_install:
7-
- mkdir travis-phantomjs
8-
- 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
9-
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
10-
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
117
- "npm config set spin false"
128
- "npm install -g npm@^2"
9+
- npm install -g phantomjs-prebuilt@2
10+
1311
install:
1412
- npm install --no-optional
1513
- ./node_modules/.bin/bower install

0 commit comments

Comments
 (0)