Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1593 from ethereum-mining/UpdateCodeFormatCheck
Browse files Browse the repository at this point in the history
Update travis code format check
  • Loading branch information
StefanOberhumer authored Sep 26, 2018
2 parents c9e5b5f + ab29fe8 commit 72a7586
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 72a7586

Please sign in to comment.