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 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" |
Hey Marko, do you still have this gist available?
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...
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
Ahoy, could you make the gist private for the time being, it's not really released yet ;)
And you could use https://gist.github.com/mlocher/f0f731dfa93c82d0fa86 directly via
as well. The script won't change any time soon and I will make sure it keeps working! (Though I fully understand that including external scripts not under your control is something you might not want to do!)
Updated the links as well as the code snippet as I deleted the original 😢