Merge pull request #2568 from cfromknecht/lint-all-travis-builds
Makefile: lint all travis builds
This commit is contained in:
commit
5d7bb7406f
@ -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'
|
||||
|
8
Makefile
8
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user