From 245b76ab51a9fe893a3bcf8fd13d1b7903ecf882 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 31 Jan 2019 15:36:56 -0800 Subject: [PATCH] Makefile: lint all travis builds Ensures we fail faster if the source code doesn't pass the lint checks. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 53b7a262..26d2cc27 100644 --- a/Makefile +++ b/Makefile @@ -134,9 +134,12 @@ goveralls: $(GOVERALLS_BIN) @$(call print, "Sending coverage report.") $(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 @@ -197,6 +200,7 @@ clean: goveralls \ travis-race \ travis-cover \ + travis-itest \ flakehunter \ flake-unit \ fmt \