aboutsummaryrefslogtreecommitdiff
path: root/util/travis/lint.sh
AgeCommit message (Collapse)Author
2020-04-20Replace travis with github actions (#9641)Loïc Blot
* Move outside of travis to Github actions This will permit to have better integrated CI workflow than the previous travis one.
2019-03-14Update our tooling (Clang 5 -> 7, GCC 7 -> 8)Loïc Blot
This change permits to use up-to-date compilers, clang-tidy and clang-format It also refactor the tidy/format step to drop the binary selection from scripts and perform it directly in travis
2019-01-12Fix fake LINT check success (#8092)Jozef Behran
The code 'if [ -z ${something} ]; then ... fi' means "if ${something} is an empty string, yell at the command line about 'binary operator expected' and ignore the body of the if statement, if ${something} is not an empty string, the condition is false so ignore the body of the if statement" which clearly isn't what the author wanted. Fix it by adding a few quotes around the offending ${something}.
2017-10-09Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot
* Update clang from 4.0 to 5.0
2017-06-04Minetest for C++11 (CMakeLists + Travis)Loic Blot
* Move GCC to GCC 6 & GCC 7 * Move Clang to Clang 3.6 & Clang 4.0 * LINT moves from Clang 3.9 to Clang 4.0 * Move XCode 7.3 to 8.0 * Use more travis tricks to install compilers instead of adding complexity to our build script * Clang format fixes on checked files (compat Cpp11 instead of Cpp03) * Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial) * Drop mingw cmake generated files and add them to gitignore
2017-05-22LINT fix & check all files with clang-formatLoic Blot
Seems the diff mode doesn't work well, PR are detected as working whereas in master it's shown it's problematic (and really problematic). Use same check everywhere
2017-04-06LINT: Switch whitelist check from egrep to awkLoïc Blot
Bonus: make CI happy with the last rules fix
2017-04-06Fix clang-format binary selectionLoïc Blot
Also fix spaces to tabs
2017-04-06Move LINT process in dedicated shell & fixLoic Blot
Move lint to dedicated shell permit to use it from your shell easily to check what is wrong Also fix recent regressions in code style