Closed JaroslawWiosna closed 5 years ago
(cd .. && exec find regionalizer -iname *.hpp -o -iname *.cpp | xargs clang-format -i -style=file)
I am not sure if travis can handle this... Error reading /home/travis/build/JaroslawWiosna/regionalizer/.clang-format: Invalid argument
./check_coding_style.sh
exits with 0, which is strage, because there is lcov
directory. lcov
is not a part of repo, so the script should always exit with 1. ...but it exits with 0.
In general we want the script to return 0, but this time, when lcov directory exists, scrit should gives us 1.
possible solutions:
git diff
to `git diff --``git status
and check for string: working directory clean
@kermit10000000 yes, check 7168760 in https://github.com/JaroslawWiosna/regionalizer/commits/intentionally-made-coding-style-error
Ok, then please merge. Thank you for the answer,
Coverage increased (+0.1%) to 55.449% when pulling 01bd1458c9ba66f4648c4e4ba52cdb287b1a0c39 on clang-format-in-travis into 56e92bbfb59620521da8082bef019f8be58a9377 on master.