Created
May 12, 2015 06:32
-
-
Save hubertlepicki/5cda0fe151cb4f759b7e to your computer and use it in GitHub Desktop.
PhantomJS 2.0.1 on codeship
This file contains hidden or 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
# I am pasting that into setup steps | |
# binary provided by the amazing Codeship.io support | |
PHANTOMJS_URL="https://s3.amazonaws.com/codeship.io/checkbot/binaries/phantomjs_2.0.1" | |
set -e | |
rm -rf ~/.phantomjs | |
wget --continue "${PHANTOMJS_URL}" -O "${HOME}/cache/phantomjs" | |
ln -s "${HOME}/cache/phantomjs" "${HOME}/bin/" | |
chmod +x "${HOME}/bin/phantomjs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!