Update .gitlab-ci.yml
This commit is contained in:
parent
8a5b7e237d
commit
6ba254f0a8
1 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,15 @@
|
|||
stages:
|
||||
- test
|
||||
- build
|
||||
|
||||
format:
|
||||
image: golang:latest
|
||||
stage: test
|
||||
script:
|
||||
- go fmt $(go list ./... | grep -v /vendor/)
|
||||
- go vet $(go list ./... | grep -v /vendor/)
|
||||
- go test -race $(go list ./... | grep -v /vendor/)
|
||||
|
||||
docker-build:
|
||||
image: docker:latest
|
||||
stage: build
|
||||
|
|
Loading…
Reference in a new issue