From 9e5ba86cef46ce2aa23d161f430b458cbc6d58b3 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 29 Nov 2018 21:40:47 -0800 Subject: [PATCH] build: force modules at the travis script level --- .travis.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f438056..087e9066 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ install: - export PATH=$PATH:$PWD/linux-amd64/ script: - - env GO111MODULE=on + - export GO111MODULE=on # Common for all builds. - make btcd diff --git a/Makefile b/Makefile index 6b8c2f7f..e344d107 100644 --- a/Makefile +++ b/Makefile @@ -177,7 +177,7 @@ fmt: lint: $(LINT_BIN) @$(call print, "Linting source.") GO111MODULE=off $(LINT_BIN) --install 1> /dev/null - GO111MODULE=on test -z "$$($(LINT))" + test -z "$$($(LINT))" list: @$(call print, "Listing commands.")