Forked from MaksimAbramchuk/gist:b40e49e19b1e1c2fe042
Created
January 15, 2016 18:49
-
-
Save mariochavez/1bf4c53acb3dfc21985e to your computer and use it in GitHub Desktop.
CircleCI + Rubocop
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
To circle.yml: | |
dependencies: | |
post: | |
- bin/cisetup | |
checkout: | |
post: | |
- git fetch origin --depth=1000000 | |
To bin/cisetup: | |
export GITHUB_ACCESS_TOKEN=<your github access token> | |
export PULL_REQUEST_URL=${CI_PULL_REQUEST} | |
export PULL_REQUEST_ID=`echo $PULL_REQUEST_URL | grep -o -E ‘[0–9]+$’ | head -1 | sed -e ‘s/^0\+//’` | |
((bin/bundle exec pronto run -f github_pr -c origin/master)) || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment