Skip to content

Instantly share code, notes, and snippets.

@willnet
Created December 17, 2014 14:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willnet/f5559b1d831a1a5bb1cb to your computer and use it in GitHub Desktop.
Save willnet/f5559b1d831a1a5bb1cb to your computer and use it in GitHub Desktop.
test:
pre:
- "export PULL_REQUEST_ID=`bundle exec prid willnet/savanna` && if [ $PULL_REQUEST_ID ]; then cd .. && git clone git@github.com:willnet/savanna.git for_pronto && cd for_pronto && git checkout -b ${CIRCLE_BRANCH} remotes/origin/${CIRCLE_BRANCH} && bundle install && PULL_REQUEST_ID=`bundle exec prid willnet/savanna` bundle exec pronto run -c master -f github_pr && cd ../savanna; else echo 'current branch is not pull request'; fi"
@tkawa
Copy link

tkawa commented Dec 17, 2014

動きました!ありがとうございます 😄
ちなみにbundle installのところをbundle install --path=../savenna/vendor/bundle --without=productionにして再利用してみました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment