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.")