forked from gliderlabs/logspout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (38 loc) · 855 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: 2
jobs:
build:
machine: true
working_directory: ~/.go_workspace/src/github.com/gliderlabs/logspout
environment:
DEBUG: true
steps:
- checkout
- run: |
go get github.com/golang/lint/golint
- run: |
make circleci
- run: |
make lint
- run: |
make build
- run: |
make build-custom
- run: |
make -e test-image-size
- run: |
make -e test
- run: |
make -e test-tls
- run: |
make -e test-custom
- run: |
make -e test-tls-custom
- store_artifacts:
path: build
destination: build
- deploy:
name: release
command: |
if [ "${CIRCLE_BRANCH}" == "release" ]; then
make release
fi