Merge pull request #2568 from cfromknecht/lint-all-travis-builds
Makefile: lint all travis builds
This commit is contained in:
2 files changed
+7
-3
No files matched your search
+1
-1
@@ -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'
|
||||||
|
|||||||
@@ -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