Skip to content

Commit

Permalink
Attempt to fix PhantomJS/Travis build with ugly jazz (via @mjgiarlo)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbklein committed May 31, 2016
1 parent 2516175 commit 71f509b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
language: ruby
sudo: false
cache:
bundler: true
directories:
- "travis_phantomjs"

before_install:
- "phantomjs --version"
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "phantomjs --version"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
rvm:
- 2.2
env:
Expand All @@ -18,4 +31,3 @@ matrix:

notifications:
irc: "irc.freenode.org#projecthydra"

0 comments on commit 71f509b

Please sign in to comment.