build: force modules at the travis script level

This commit is contained in:
Olaoluwa Osuntokun 2018-11-29 21:40:47 -08:00
parent 1483af79da
commit 9e5ba86cef
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ install:
- export PATH=$PATH:$PWD/linux-amd64/
script:
- env GO111MODULE=on
- export GO111MODULE=on
# Common for all builds.
- make btcd

View File

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