Skip to content

Commit fd5607f

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Skip files that were deleted
1 parent af4af43 commit fd5607f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ matrix:
141141
- astyle --version
142142
script:
143143
- >-
144-
git diff --name-only HEAD..${TRAVIS_BRANCH} \
144+
git diff --name-only --diff-filter=d HEAD..${TRAVIS_BRANCH} \
145145
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
146146
| while read file; do astyle -n --options=.astylerc "${file}"; done
147-
- git diff --exit-code --color
147+
- git diff --exit-code --diff-filter=d --color
148148

149149
- env:
150150
- NAME=events

0 commit comments

Comments
 (0)