From 9e0ee1fc8257454640ad9ef21c4edaae1b5966a1 Mon Sep 17 00:00:00 2001 From: Max Riveiro Date: Sun, 12 Nov 2017 11:19:39 +0300 Subject: [PATCH] Add CircleCI configuration --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6f2d12e --- /dev/null +++ b/.circleci/config.yml @@ -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=.