mirror of https://github.com/shunfei/cronsun
ci for go module
parent
56f8db46b3
commit
a45f1e46e3
|
@ -3,16 +3,13 @@ go:
|
||||||
- 1.11.x
|
- 1.11.x
|
||||||
env:
|
env:
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
install:
|
install: true
|
||||||
- go mod vendor
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- go vet -x ./...
|
- go vet -x ./...
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- go: "1.10.x"
|
|
||||||
script: go test -v ./...
|
|
||||||
- go: "1.11.x"
|
- go: "1.11.x"
|
||||||
script: go test -v -race -mod=vendor ./...
|
script: go test -v -race -mod=vendor ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue