Fix travis astyle usage of .astyleignore

pull/9267/head
Oren Cohen 2019-01-06 13:58:17 +02:00
parent 90fd6cdf27
commit 05f4a1867f
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ matrix:
- >-
git diff --name-only --diff-filter=d HEAD..${TRAVIS_BRANCH} \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( fgrep -v -f .astyleignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --diff-filter=d --color