diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-03-15 08:29:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-15 08:29:49 +0100 |
| commit | 16618bf5763aa235e01755d4865b455ccb14c928 (patch) | |
| tree | 41c5920fd36155375648dff8fd96d197308091f3 /travis/linux_gcc | |
| parent | 30090445886a8f6842028b5ab20601f4c7336fe2 (diff) | |
| parent | 3cc7b4c62382650f9bf00365b25f8fa7f6eed603 (diff) | |
| download | PROJ-16618bf5763aa235e01755d4865b455ccb14c928.tar.gz PROJ-16618bf5763aa235e01755d4865b455ccb14c928.zip | |
Merge pull request #860 from rouault/cppcheck
Fix various issues spotted by cppcheck and clang static analyzer
Diffstat (limited to 'travis/linux_gcc')
| -rwxr-xr-x | travis/linux_gcc/before_install.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/travis/linux_gcc/before_install.sh b/travis/linux_gcc/before_install.sh index 87877629..c1d119d8 100755 --- a/travis/linux_gcc/before_install.sh +++ b/travis/linux_gcc/before_install.sh @@ -4,16 +4,10 @@ sudo apt-get install -y cppcheck -cppcheck --inline-suppr --template='{file}:{line},{severity},{id},{message}' --enable=all --inconclusive --std=posix src/*.c 2>/tmp/cppcheck.txt - -grep "error," /tmp/cppcheck.txt -if [[ $? -eq 0 ]] ; then - echo "cppcheck failed" - exit 1 -fi - set -e +scripts/cppcheck.sh + pip install --user cpp-coveralls ./travis/docker.sh |
