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" |
Ups, I'm very sorry, I didn't realise this was in use by somebody else. I recreated the gist and updated the link in my comment above, see https://gist.github.com/mlocher/f0f731dfa93c82d0fa86
To include it in your builds use
\curl -sSL https://gist.githubusercontent.com/mlocher/f0f731dfa93c82d0fa86/raw/phantomjs2.sh | bash -s
I promise I won't delete it again ;)
Thanks! 👍
Thanks!
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like @mlocher deleted his gist. We started using it on our Codeship setup a few days ago hoping that, as promised, it would keep working...
It would be good to know if PhantomJS was updated in Codeship and that script is now useless, or if we must find a solution by ourselves...