Makefile: lint all travis builds
Ensures we fail faster if the source code doesn't pass the lint checks.
This commit is contained in:
1 file changed
+6
-2
@@ -134,9 +134,12 @@ goveralls: $(GOVERALLS_BIN)
|
|||||||
@$(call print, "Sending coverage report.")
|
@$(call print, "Sending coverage report.")
|
||||||
$(GOVERALLS_BIN) -coverprofile=coverage.txt -service=travis-ci
|
$(GOVERALLS_BIN) -coverprofile=coverage.txt -service=travis-ci
|
||||||
|
|
||||||
travis-race: btcd unit-race
|
|
||||||
|
|
||||||
travis-cover: btcd lint unit-cover goveralls
|
travis-race: lint btcd unit-race
|
||||||
|
|
||||||
|
travis-cover: lint btcd unit-cover goveralls
|
||||||
|
|
||||||
|
travis-itest: lint itest
|
||||||
|
|
||||||
# =============
|
# =============
|
||||||
# FLAKE HUNTING
|
# FLAKE HUNTING
|
||||||
@@ -197,6 +200,7 @@ clean:
|
|||||||
goveralls \
|
goveralls \
|
||||||
travis-race \
|
travis-race \
|
||||||
travis-cover \
|
travis-cover \
|
||||||
|
travis-itest \
|
||||||
flakehunter \
|
flakehunter \
|
||||||
flake-unit \
|
flake-unit \
|
||||||
fmt \
|
fmt \
|
||||||
|
|||||||
Reference in new issue
Block a user