mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-15 01:25:00 +02:00
Update .travis.yml
Added protection from PR's with bad code formatting.
This commit is contained in:
@ -43,6 +43,8 @@ jobs:
|
|||||||
script:
|
script:
|
||||||
- make vet
|
- make vet
|
||||||
- make lint
|
- make lint
|
||||||
|
- make fmt
|
||||||
|
- if [[ $(git diff --stat) != '' ]]; then echo 'Invalid formatting!' >&2; exit 1; fi
|
||||||
- stage: compile
|
- stage: compile
|
||||||
script:
|
script:
|
||||||
- make generate
|
- make generate
|
||||||
|
Reference in New Issue
Block a user