add stop to clean up gocache

This commit is contained in:
Chris Lu 2019-04-06 11:13:53 -07:00
parent 7e95dcc99e
commit 27850c3a8b

View file

@ -1,19 +1,20 @@
sudo: false sudo: false
language: go language: go
go: go:
- 1.10.x - 1.10.x
- 1.11.x - 1.11.x
- 1.12.x - 1.12.x
- tip - tip
before_install: before_install:
- export PATH=/home/travis/gopath/bin:$PATH - export PATH=/home/travis/gopath/bin:$PATH
install: install:
- go get -u ./weed/... - rm -rf `go env GOCACHE`
- go get -u ./weed/...
script: script:
- go test ./weed/... - go test ./weed/...
before_deploy: before_deploy:
- make release - make release