transocks/.circleci/config.yml
ymmt 1848d3812c Enable Go modules.
* github.com/cybozu-go/cmd was moved to github.com/cybozu-go/well
* use CircleCI to replace TravisCI
2018-11-13 11:19:00 +09:00

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