aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-28 09:03:59 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-10-28 09:03:59 +0100
commit7026fa2241d4e42ac35688487b7c7dd4d7f8bad1 (patch)
tree7865bf5e9b3d7b293f207c10a24fe965a114cfce
parent4330f9fa4391b4d39c52c972c75327ed2ba6ce33 (diff)
downloadPROJ-7026fa2241d4e42ac35688487b7c7dd4d7f8bad1.tar.gz
PROJ-7026fa2241d4e42ac35688487b7c7dd4d7f8bad1.zip
travis/linux_gcc/before_install.sh: use cppcheck from distribution
-rwxr-xr-xtravis/linux_gcc/before_install.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/travis/linux_gcc/before_install.sh b/travis/linux_gcc/before_install.sh
index 4dbd52c3..7725b3ef 100755
--- a/travis/linux_gcc/before_install.sh
+++ b/travis/linux_gcc/before_install.sh
@@ -8,15 +8,8 @@ set -e
sudo apt-get install -qq \
lcov \
doxygen graphviz \
- sqlite3 libsqlite3-dev
-
-# Install Cppcheck to maintain version 1.61
-LIBTINYXML=libtinyxml2-0.0.0_0~git20120518.1.a2ae54e-1_amd64.deb
-CPPCHECK=cppcheck_1.61-1_amd64.deb
-wget -q http://security.ubuntu.com/ubuntu/pool/universe/t/tinyxml2/$LIBTINYXML
-wget -q http://security.ubuntu.com/ubuntu/pool/universe/c/cppcheck/$CPPCHECK
-sudo dpkg -i $LIBTINYXML
-sudo dpkg -i $CPPCHECK
+ sqlite3 libsqlite3-dev \
+ cppcheck
scripts/cppcheck.sh
scripts/doxygen.sh