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
env:
- GO111MODULE=on
install:
- go mod vendor
install: true
before_script:
- go vet -x ./...
matrix:
include:
- go: "1.10.x"
script: go test -v ./...
- go: "1.11.x"
script: go test -v -race -mod=vendor ./...