Skip to content

Commit

Permalink
PhantomJS 2.0.0 for travis?
Browse files Browse the repository at this point in the history
  • Loading branch information
jfly committed Dec 12, 2015
1 parent 49a86bc commit 1f13560
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ rvm:
env:
- DATABASE_URL=mysql2://[email protected]:3306/wca_test
before_install:
# From https://mediocre.com/forum/topics/phantomjs-2-and-travis-ci-we-beat-our-heads-against-a-wall-so-you-dont-have-to
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
- cd WcaOnRails/
before_script:
- bundle exec rake db:create
Expand Down

0 comments on commit 1f13560

Please sign in to comment.