Skip to content

Commit

Permalink
Taking another stab at auto-installing PhantomJS 1.8.2 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tjgrathwell committed Mar 18, 2013
1 parent da7b5aa commit d2b83fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ rvm:
- 2.0.0
- 1.9.3
bundler_args: "--without development"
before_script: "./config/before-travis.sh"
before_script:
- ci/install_phantomjs
- "export PATH=`pwd`/phantomjs/bin:$PATH"
- phantomjs --version
- "./config/before-travis.sh"
script: "bundle exec rake"

notifications:
Expand Down
7 changes: 7 additions & 0 deletions ci/install_phantomjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

version=phantomjs-1.8.2-linux-x86_64
wget http://phantomjs.googlecode.com/files/$version.tar.bz2
tar xjf $version.tar.bz2
mv $version phantomjs

0 comments on commit d2b83fb

Please sign in to comment.