Ensure that Travis CI fails the build if the patches are incorrect
This commit is contained in:
parent
7f81323fdc
commit
4438d116b1
|
@ -13,6 +13,7 @@ jobs:
|
|||
include:
|
||||
- stage: Lint & Vendor Check
|
||||
sudo: required
|
||||
before_script: make dep-ensure
|
||||
script:
|
||||
- make lint
|
||||
- make vendor-check
|
||||
|
|
2
Makefile
2
Makefile
|
@ -156,7 +156,7 @@ lint:
|
|||
@echo "lint"
|
||||
@gometalinter ./...
|
||||
|
||||
ci: lint mock test-unit test-e2e ##@tests Run all linters and tests at once
|
||||
ci: lint mock dep-ensure test-unit test-e2e ##@tests Run all linters and tests at once
|
||||
|
||||
clean: ##@other Cleanup
|
||||
rm -fr build/bin/*
|
||||
|
|
|
@ -182,7 +182,7 @@ for ((i=0; i<${#patches[@]}; i++)); do
|
|||
echo "Failed and reverting: $f"
|
||||
gitApplyReverse "$f" "$basepath"
|
||||
echo -en "\\n"
|
||||
exit
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue