Skip files that were deleted

pull/9370/head
Cruz Monrreal II 2018-12-18 16:04:39 -06:00 committed by adbridge
parent 0190e3eab5
commit 2f6a8a2cc0
1 changed files with 2 additions and 2 deletions

View File

@ -141,10 +141,10 @@ matrix:
- astyle --version - astyle --version
script: script:
- >- - >-
git diff --name-only HEAD..${TRAVIS_BRANCH} \ git diff --name-only --diff-filter=d HEAD..${TRAVIS_BRANCH} \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \ | ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done | while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --color - git diff --exit-code --diff-filter=d --color
- env: - env:
- NAME=events - NAME=events