Add golint from upstream repo and docker build

This commit is contained in:
cacheflux 2019-05-30 00:25:44 +02:00 committed by Giancarlo Razzolini
parent e9b5e2a639
commit 203f24b35c
No known key found for this signature in database
GPG key ID: 354AAB6377B981BC

View file

@ -10,5 +10,11 @@ notifications:
# Don't email the results of the test runs. # Don't email the results of the test runs.
email: false email: false
before_script:
- go get -u golang.org/x/lint/golint
script: script:
- go build
- go test -v -race ./... - go test -v -race ./...
- golint -set_exit_status ./...
- docker build .