Skip to content

Commit

Permalink
Add CircleCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kavu authored Nov 12, 2017
1 parent 4ae4136 commit 9e0ee1f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8

working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}

steps:
- checkout
- run: go get -v -t -d ./...
- run: go test -v -cover ./...
- run: go test -v -cover -race ./... -coverprofile=coverage.txt -covermode=atomic
- run: go test -v -cover -race -benchmem -benchtime=5s -bench=.

0 comments on commit 9e0ee1f

Please sign in to comment.