Skip to content

Commit 47950fb

Browse files
committed
Add circleci configuration
RFR
1 parent e0d3c7a commit 47950fb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/golang:1.12
6+
environment:
7+
- GO111MODULE=on
8+
working_directory: /go/src/github.com/oleiade/trousseau
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
keys:
13+
- go-mod-v1-{{ checksum "go.sum" }}
14+
- run: go mod download
15+
- run: go build github.com/oleiade/trousseau/cmd/...
16+
- run: go test github.com/oleiade/trousseau/...
17+
- save_cache:
18+
key: go-mod-v1-{{ checksum "go.sum" }}
19+
paths:
20+
- "/go/pkg/mod"

0 commit comments

Comments
 (0)