build: force modules at the travis script level
This commit is contained in:
parent
1483af79da
commit
9e5ba86cef
@ -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
|
||||||
|
2
Makefile
2
Makefile
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user