ci for go module

pull/103/head
QLeelulu 2018-09-06 14:52:08 +08:00
parent 56f8db46b3
commit a45f1e46e3
1 changed files with 1 additions and 4 deletions

View File

@ -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 ./...