Skip to content

Commit 9b15c52

Browse files
Add circle.yml
1 parent 7baf906 commit 9b15c52

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

circle.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
machine:
2+
services:
3+
- docker
4+
5+
dependencies:
6+
override:
7+
- >
8+
docker run
9+
--env CIRCLE_BRANCH
10+
--env CIRCLE_PROJECT_REPONAME
11+
--env CIRCLE_TOKEN
12+
--env GCR_JSON_KEY
13+
--volume /var/run/docker.sock:/var/run/docker.sock
14+
codeclimate/patrick pull || true
15+
- docker build --rm --tag codeclimate/codeclimate-checks .
16+
17+
deployment:
18+
registry:
19+
branch: /master|channel\/[\w-]+/
20+
owner: codeclimate
21+
commands:
22+
- >
23+
docker run
24+
--env CIRCLE_BUILD_NUM
25+
--env CIRCLE_PROJECT_REPONAME
26+
--env GCR_JSON_KEY
27+
--volume /var/run/docker.sock:/var/run/docker.sock
28+
codeclimate/patrick push gcr
29+
30+
notify:
31+
webhooks:
32+
- url: https://cc-slack-proxy.herokuapp.com/circle

0 commit comments

Comments
 (0)