Browse Source

Update CI script

master v0.1.1
Trevor Slocum 3 years ago
parent
commit
3b1507002c
  1. 20
      .gitlab-ci.yml
  2. 2
      README.md

20
.gitlab-ci.yml

@ -1,8 +1,20 @@
image: golang:latest
stages:
- test
- validate
fmt:
stage: validate
script:
- gofmt -l -s -e .
- exit $(gofmt -l -s -e . | wc -l)
vet:
stage: validate
script:
- go vet -composites=false ./...
test:
image: golang:latest
stage: test
stage: validate
script:
- go test -v ./...
- go test -race -v ./...

2
README.md

@ -14,4 +14,4 @@ Documentation is available via [godoc](https://godoc.org):
## Support
Please share issues/suggestions [here](https:/gitlab.com/tslocum/joker-cribbage/issues).
Please share issues and suggestions [here](https:/gitlab.com/tslocum/joker-cribbage/issues).

Loading…
Cancel
Save