aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/install.sh4
-rwxr-xr-xtravis/linux_gcc/before_install.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/travis/install.sh b/travis/install.sh
index 78da24de..8126182b 100755
--- a/travis/install.sh
+++ b/travis/install.sh
@@ -74,9 +74,9 @@ PROJ_LIB=../nad src/multistresstest
cd ..
# autoconf build with grids and coverage
if [ $TRAVIS_OS_NAME == "osx" ]; then
- CFLAGS="-DPJ_SELFTEST --coverage" ./configure;
+ CFLAGS="--coverage" ./configure;
else
- CFLAGS="-DPJ_SELFTEST --coverage" LDFLAGS="-lgcov" ./configure;
+ CFLAGS="--coverage" LDFLAGS="-lgcov" ./configure;
fi
make -j3
make check
diff --git a/travis/linux_gcc/before_install.sh b/travis/linux_gcc/before_install.sh
index 0c37643c..87877629 100755
--- a/travis/linux_gcc/before_install.sh
+++ b/travis/linux_gcc/before_install.sh
@@ -4,7 +4,7 @@
sudo apt-get install -y cppcheck
-cppcheck --inline-suppr --template='{file}:{line},{severity},{id},{message}' --enable=all --inconclusive --std=posix -DPJ_SELFTEST=1 src/*.c 2>/tmp/cppcheck.txt
+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