add a script to automate coverity scans

This commit is contained in:
Enno Rehling 2015-10-29 20:40:40 +01:00
parent 3bf5ba14bb
commit f581999dde
1 changed files with 15 additions and 0 deletions

15
s/coverity Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
VERSION="$1"
shift
DESC="$*"
cd Debug
make clean
../../coverity/bin/cov-build --dir cov-int make eressea
tar czf eressea.tgz cov-int
curl --form token=IISXKH3A1ngZGfFmBz_aSA \
--form email=enno.rehling@gmail.com \
--form file=@eressea.tgz \
--form version="$VERSION" \
--form description="$DESC" \
https://scan.coverity.com/builds?project=eressea%2Fserver