Merge pull request #2568 from cfromknecht/lint-all-travis-builds

Makefile: lint all travis builds
This commit is contained in:
Johan T. Halseth authored and GitHub committed 2019-02-04 10:30:07 +01:00
commit 5d7bb7406f
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ script:
- 'if [ "$RACE" = true ]; then make travis-race ; fi' - 'if [ "$RACE" = true ]; then make travis-race ; fi'
# Run integration tests. # Run integration tests.
- 'if [ "$ITEST" = true ]; then make itest; fi' - 'if [ "$ITEST" = true ]; then make travis-itest; fi'
# Run unit tests and generate coverage report. # Run unit tests and generate coverage report.
- 'if [ "$COVER" = true ]; then make travis-cover; fi' - 'if [ "$COVER" = true ]; then make travis-cover; fi'
+6 -2
View File
@@ -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 \