travis: astyle anchor fix

Missing $ for after_success, same fix as previously done for PR code changes
pull/8820/head
Martin Kojtal 2018-11-20 13:12:11 +00:00
parent 9aef9d3661
commit a5e8df25a1
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ matrix:
after_success:
# run astyle for all files on the branch
- git checkout -- .
- find -regex '.*\.\(h\|c\|hpp\|cpp\)' -type f | fgrep -v -f .astyleignore | xargs -n 100 -I {} bash -c "astyle -n --options=.astylerc \"{}\"" > astyle-branch.out;
- find -regex '.*\.\(h\|c\|hpp\|cpp\)$' -type f | fgrep -v -f .astyleignore | xargs -n 100 -I {} bash -c "astyle -n --options=.astylerc \"{}\"" > astyle-branch.out;
# update status if we succeeded, compare with master if possible
- |
CURR=$(cat astyle-branch.out | grep Formatted | wc -l)