From 05f4a1867f1dadfca66fb747e8550da505be033d Mon Sep 17 00:00:00 2001 From: Oren Cohen Date: Sun, 6 Jan 2019 13:58:17 +0200 Subject: [PATCH] Fix travis astyle usage of .astyleignore --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 86eb891c62..874b5f4503 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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