Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #16 from the-grid/phantomjs-prebuilt
Browse files Browse the repository at this point in the history
Travis: Use Phantomjs from NPM
  • Loading branch information
jonnor authored Aug 29, 2016
2 parents aab4c71 + f765dde commit 33d15a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ node_js:
- '4.2'
before_script:
- npm install -g grunt-cli
- 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=./:$PATH
- which phantomjs
- export JSJOB_BROWSER=`which phantomjs`
- export JSJOB_BROWSER=`node -e "console.log(require('phantomjs-prebuilt').path)"`
- echo Using PhanthomJS at $JSJOB_BROWSER
sudo: false
deploy:
provider: npm
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"grunt-gh-pages": "^1.0.0",
"grunt-mocha-test": "^0.12.7",
"mocha": "^2.4.5",
"phantomjs-prebuilt": "^2.1.12",
"webpack": "^1.12.14"
},
"dependencies": {
Expand Down

0 comments on commit 33d15a8

Please sign in to comment.