Skip to content

Commit

Permalink
Use phantomjs at travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Jul 13, 2015
1 parent 7557d43 commit 6e30ac8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ cache:
- node_modules

before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
# See https://mediocre.com/forum/topics/phantomjs-2-and-travis-ci-we-beat-our-heads-against-a-wall-so-you-dont-have-to
# modified to not use sudo (just puts $PWD on the path so that $PWD/phantomjs is the phantom used
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xjf phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- export PATH=$PWD:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"

Expand Down

0 comments on commit 6e30ac8

Please sign in to comment.