Skip to content

Commit

Permalink
Add circleci configuration
Browse files Browse the repository at this point in the history
RFR
  • Loading branch information
tcr-ableton committed Aug 22, 2019
1 parent e0d3c7a commit 47950fb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.12
environment:
- GO111MODULE=on
working_directory: /go/src/github.com/oleiade/trousseau
steps:
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run: go mod download
- run: go build github.com/oleiade/trousseau/cmd/...
- run: go test github.com/oleiade/trousseau/...
- save_cache:
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"

0 comments on commit 47950fb

Please sign in to comment.