2018-01-06 11:58:46 +01:00
|
|
|
#!/bin/bash
|
2019-09-03 21:28:57 +02:00
|
|
|
PATH=$PATH:/home/danielmarjamaki/cov-analysis-linux64-2019.03/bin
|
2019-09-04 17:12:03 +02:00
|
|
|
cd /home/danielmarjamaki/cppcheck-devinfo
|
2018-05-05 15:23:35 +02:00
|
|
|
git pull
|
2018-01-06 11:58:46 +01:00
|
|
|
|
|
|
|
echo Analyze
|
2018-05-05 15:23:35 +02:00
|
|
|
make clean
|
2018-01-06 11:58:46 +01:00
|
|
|
nice cov-build --dir cov-int make
|
|
|
|
|
|
|
|
echo Compressing
|
|
|
|
tar czvf cppcheck.tgz cov-int
|
|
|
|
|
|
|
|
echo Upload
|
2018-05-05 15:23:35 +02:00
|
|
|
curl --insecure \
|
|
|
|
--form token=e74RRnWR6BVsn5LKdclfcA \
|
2018-01-06 11:58:46 +01:00
|
|
|
--form email=daniel.marjamaki@gmail.com \
|
|
|
|
--form file=@cppcheck.tgz \
|
|
|
|
--form version=`git log -1 --format=oneline | sed -r 's/([a-f0-9]{7}).*/\1/'` \
|
|
|
|
--form description="Development" \
|
|
|
|
https://scan.coverity.com/builds?project=cppcheck
|
|
|
|
|
|
|
|
echo Done
|
|
|
|
rm -rf cov-int
|
|
|
|
|