Skip to content

Instantly share code, notes, and snippets.

@keernel
Forked from hubertlepicki/setup.sh
Created May 30, 2016 20:18
Show Gist options
  • Select an option

  • Save keernel/417ee5bea60c1afb2b32c643034c4732 to your computer and use it in GitHub Desktop.

Select an option

Save keernel/417ee5bea60c1afb2b32c643034c4732 to your computer and use it in GitHub Desktop.
PhantomJS 2.0.1 on codeship
# 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