ci: ensure disabled CGO; simplify cache path

This commit is contained in:
Leo Antunes 2020-05-10 13:24:07 +02:00
parent f51493ad73
commit 61a20848f3
1 changed files with 2 additions and 1 deletions

View File

@ -14,13 +14,14 @@ services:
- docker
env:
- CGO_ENABLED=0
- GO111MODULE=on
script: go test -v ./...
cache:
directories:
- $HOME/gopath/pkg/mod
- $GOPATH/pkg/mod
install: true # skip, handled by "cache" stage