build: force modules at the travis script level

This commit is contained in:
Olaoluwa Osuntokun committed 2018-11-29 21:40:47 -08:00
1 parent 1483af79da
commit 9e5ba86cef
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ install:
- export PATH=$PATH:$PWD/linux-amd64/ - export PATH=$PATH:$PWD/linux-amd64/
script: script:
- env GO111MODULE=on - export GO111MODULE=on
# Common for all builds. # Common for all builds.
- make btcd - make btcd
+1 -1
View File
@@ -177,7 +177,7 @@ fmt:
lint: $(LINT_BIN) lint: $(LINT_BIN)
@$(call print, "Linting source.") @$(call print, "Linting source.")
GO111MODULE=off $(LINT_BIN) --install 1> /dev/null GO111MODULE=off $(LINT_BIN) --install 1> /dev/null
GO111MODULE=on test -z "$$($(LINT))" test -z "$$($(LINT))"
list: list:
@$(call print, "Listing commands.") @$(call print, "Listing commands.")