From 61a20848f361bc7dedb5059ecc412b41228fe120 Mon Sep 17 00:00:00 2001 From: Leo Antunes Date: Sun, 10 May 2020 13:24:07 +0200 Subject: [PATCH] ci: ensure disabled CGO; simplify cache path --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9daaf54..3633018 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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