Merge pull request #9267 from orenc17/astyleignore_fix

Fix travis astyle usage of .astyleignore
pull/9599/head
Martin Kojtal 2019-01-07 09:28:35 +00:00 committed by GitHub
commit 6fd0eea7db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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