forked from ms/transocks
* github.com/cybozu-go/cmd was moved to github.com/cybozu-go/well * use CircleCI to replace TravisCI
20 lines
394 B
YAML
20 lines
394 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: quay.io/cybozu/golang:1.11-bionic
|
|
working_directory: /work
|
|
steps:
|
|
- checkout
|
|
- run: test -z "$(gofmt -s -l . | grep -v '^vendor' | tee /dev/stderr)"
|
|
- run: golint -set_exit_status .
|
|
- run: go build ./...
|
|
- run: go test -race -v ./...
|
|
- run: go vet ./...
|
|
|
|
workflows:
|
|
version: 2
|
|
main:
|
|
jobs:
|
|
- build
|