Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
machine:
services:
- docker

dependencies:
override:
- >
docker run
--env CIRCLE_BRANCH
--env CIRCLE_PROJECT_REPONAME
--env CIRCLE_TOKEN
--env GCR_JSON_KEY
--volume /var/run/docker.sock:/var/run/docker.sock
codeclimate/patrick pull || true
- docker build --rm --tag codeclimate/codeclimate-checks .

deployment:
registry:
branch: /master|channel\/[\w-]+/
owner: codeclimate
commands:
- >
docker run
--env CIRCLE_BUILD_NUM
--env CIRCLE_PROJECT_REPONAME
--env GCR_JSON_KEY
--volume /var/run/docker.sock:/var/run/docker.sock
codeclimate/patrick push gcr

notify:
webhooks:
- url: https://cc-slack-proxy.herokuapp.com/circle