Updated run-coverity.sh script
This commit is contained in:
parent
4408628107
commit
02fde2025b
|
@ -1,16 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PATH=$PATH:/home/danielmarjamaki/cov-analysis-linux64-2017.07/bin
|
PATH=$PATH:/home/danielmarjamaki/cov-analysis-linux64-2017.07/bin
|
||||||
cd /home/danielmarjamaki/cppcheck-cov
|
cd /home/danielmarjamaki/cppcheck-cov
|
||||||
make clean
|
git pull
|
||||||
|
|
||||||
echo Analyze
|
echo Analyze
|
||||||
|
make clean
|
||||||
nice cov-build --dir cov-int make
|
nice cov-build --dir cov-int make
|
||||||
|
|
||||||
echo Compressing
|
echo Compressing
|
||||||
tar czvf cppcheck.tgz cov-int
|
tar czvf cppcheck.tgz cov-int
|
||||||
|
|
||||||
echo Upload
|
echo Upload
|
||||||
curl --form token=e74RRnWR6BVsn5LKdclfcA \
|
curl --insecure \
|
||||||
|
--form token=e74RRnWR6BVsn5LKdclfcA \
|
||||||
--form email=daniel.marjamaki@gmail.com \
|
--form email=daniel.marjamaki@gmail.com \
|
||||||
--form file=@cppcheck.tgz \
|
--form file=@cppcheck.tgz \
|
||||||
--form version=`git log -1 --format=oneline | sed -r 's/([a-f0-9]{7}).*/\1/'` \
|
--form version=`git log -1 --format=oneline | sed -r 's/([a-f0-9]{7}).*/\1/'` \
|
||||||
|
|
Loading…
Reference in New Issue