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

Makefile: lint all travis builds
This commit is contained in:
Johan T. Halseth 2019-02-04 10:30:07 +01:00 committed by GitHub
commit 5d7bb7406f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

@ -32,7 +32,7 @@ script:
- 'if [ "$RACE" = true ]; then make travis-race ; fi'
# 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.
- 'if [ "$COVER" = true ]; then make travis-cover; fi'

@ -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 \