Skip to content

Instantly share code, notes, and snippets.

@hubertlepicki
Created May 12, 2015 06:32
Show Gist options
  • Select an option

  • Save hubertlepicki/5cda0fe151cb4f759b7e to your computer and use it in GitHub Desktop.

Select an option

Save hubertlepicki/5cda0fe151cb4f759b7e to your computer and use it in GitHub Desktop.

Revisions

  1. hubertlepicki created this gist May 12, 2015.
    8 changes: 8 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # 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"