Skip to content

Commit

Permalink
Use default phantom
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 13, 2018
1 parent 41c747e commit 9a67737
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Expand Up @@ -34,11 +34,7 @@ before_install:
- sudo apt-get install wine1.6

install:
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
- phantomjs --version
- |
if [[ ! -f ~/geckodriver_$GECKODRIVER_VERSION/geckodriver ]]; then
rm -rf ~/geckodriver_$GECKODRIVER_VERSION;
Expand Down

0 comments on commit 9a67737

Please sign in to comment.