Skip to content

Commit

Permalink
Install phantomjs via phantomjs-prebuilt instead of phantomjs gem
Browse files Browse the repository at this point in the history
phantomjs-prebuilt has all sort of alternative CDN URLs to
ensure that phantom downloads more successfully
  • Loading branch information
tjgrathwell committed May 4, 2016
1 parent fc99542 commit afd01c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ rvm:
- 2.3.0
bundler_args: "--without development --without production --deployment"
cache: bundler
env:
- "PATH=$PWD/node_modules/.bin:$PATH"
before_install:
- 'npm install'
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'
- "rvm @global do gem uninstall bundler -x && gem install bundler"
before_script:
- 'npm install -g bower'
- 'bundle exec rake bower:install:development'
- "./config/before-travis.sh"
script:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"//": "This package.json currently only exists so Bower will be installed on Heroku",
"//": "This package.json is mostly for Heroku and TravisCI, use bin/setup for local development.",
"name": "bridge_troll",
"version": "0.0.0",
"dependencies": {
"bower": "^1.7.2"
"bower": "^1.7.2",
"phantomjs-prebuilt": "2.1.7"
}
}

0 comments on commit afd01c5

Please sign in to comment.