Only sending yaml files to the linter

This commit is contained in:
Norbi Peti 2019-02-12 13:58:23 +01:00 committed by GitHub
parent 1e86eb792f
commit b8c8bb7b9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,4 @@ python:
install:
- pip install yamllint
script:
- git diff --name-only $TRAVIS_COMMIT_RANGE | xargs yamllint
- git diff --name-only $TRAVIS_COMMIT_RANGE | grep -Ee ".yml|dynmap.*.txt" | xargs yamllint