From cfa0e76c89e12148d9ee38b2e47b05d086a901c8 Mon Sep 17 00:00:00 2001 From: Cody Lee Date: Wed, 26 Feb 2020 16:56:56 -0600 Subject: [PATCH] define custom install to make go modules work --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e666eb0..eb609d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -go_import_path: github.com/spf13/viper - language: go env: @@ -19,6 +17,10 @@ matrix: - go: tip fast_finish: true +install: + - gimme 1.14.x + - go mod vendor + script: - go mod tidy - diff -u <(echo -n) <(gofmt -d .)