Created
May 4, 2016 15:20
-
-
Save cotsog/a66d39c7acd5ca0f30490d9fa03b709e to your computer and use it in GitHub Desktop.
Cache PhantomJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
directories: | |
- travis-phantomjs | |
before_install: | |
- mkdir travis-phantomjs || true | |
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs | |
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment