Travis/Coverity: try to only scan libdivecomputer and Subsurface

Build the dependencies outside the part that gets scanned.
And remove all the commented out noise.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-12-27 08:41:37 -08:00
parent 40c6d9521e
commit 15efc4e2c7
3 changed files with 22 additions and 59 deletions

View file

@ -14,6 +14,13 @@
# create a log file of the build
exec 1> >(tee build.log) 2>&1
CURRENTWD=$(pwd)
# if someone starts this script inside the subsurface directory, just go up a level
if [ "$(basename $(pwd))" = "subsurface" ] ; then
cd ..
fi
SRC=$(pwd)
PLATFORM=$(uname)
@ -527,3 +534,4 @@ if [ -z "$ONLY_DEPS" ] ; then
else
echo "Done building the dependencies, did not build libdivecomputer and Subsurface"
fi
cd $CURRENTWD