add .travis.yml
This commit is contained in:
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
language: go
|
||||||
|
go:
|
||||||
|
- master
|
||||||
|
- "1.11.x"
|
||||||
|
|
||||||
|
env: GO111MODULE=on
|
||||||
|
|
||||||
|
install:
|
||||||
|
- go mod download
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go build ./cmd/gomodproxy
|
||||||
|
- go test -race -v ./...
|
||||||
Reference in New Issue
Block a user