Move travis-ci pipeline to go mod

This commit is contained in:
Feng Ye
2019-07-30 17:46:33 +08:00
parent 8afd8d35b3
commit 7df5f9a70f
2 changed files with 2 additions and 4 deletions

View File

@@ -1,7 +1,6 @@
sudo: false
language: go
go:
- 1.10.x
- 1.11.x
- 1.12.x
# - tip
@@ -12,10 +11,9 @@ before_install:
install:
- export CGO_ENABLED="0"
- go env
- go get -u ./weed/...
script:
- go test ./weed/...
- env GO111MODULE=on go test ./weed/...
before_deploy:
- make release