Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update travis code format check
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanOberhumer committed Sep 24, 2018
1 parent 1070391 commit ab29fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 197 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ before_install:
- |
if [ "$TRAVIS_OS_NAME" = linux ]; then
echo "Checking format of sourcecode..."
find . -type f -name '*.cpp' -print0 -name '*.h' -print0 | xargs -r0 ./scripts/check_code_format.py --all --warn
find . -type f -name '*.cpp' -o -name '*.h' -print0 | xargs -r0 clang-format -i
git diff --color # --exit-code
fi
- |
if [ "$TRAVIS_OS_NAME" = linux ]; then
Expand Down
196 changes: 0 additions & 196 deletions scripts/check_code_format.py

This file was deleted.

0 comments on commit ab29fe8

Please sign in to comment.