Exclude deletions from linting
This commit is contained in:
parent
ad394477f7
commit
57b500bbd0
1 changed files with 1 additions and 1 deletions
|
@ -4,4 +4,4 @@ python:
|
|||
install:
|
||||
- pip install yamllint
|
||||
script:
|
||||
- git diff --name-only $TRAVIS_COMMIT_RANGE | grep -Ee ".yml|dynmap.*.txt" | xargs yamllint
|
||||
- git diff --name-only --diff-filter=d $TRAVIS_COMMIT_RANGE | grep -Ee ".yml|dynmap.*.txt" | xargs yamllint
|
||||
|
|
Loading…
Reference in a new issue