diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-02-25 12:45:02 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-02-25 12:57:31 -0300 |
commit | 0bcdef97009a99fb9ef8426e3fef72b69f0dd156 (patch) | |
tree | e16586ec51031687c41d9aef4b2c54868ed8e4b0 /Makefile.am | |
parent | a07ea0329ca9655531f624b46719984da4604fbc (diff) | |
download | kmod-0bcdef97009a99fb9ef8426e3fef72b69f0dd156.tar.gz kmod-0bcdef97009a99fb9ef8426e3fef72b69f0dd156.tar.bz2 kmod-0bcdef97009a99fb9ef8426e3fef72b69f0dd156.zip |
build: add helpers to upload coverity tarball
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b09c25f..b74e190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -411,6 +411,31 @@ lcov-run lcov-report: endif # ------------------------------------------------------------------------------ +# coverity +# ------------------------------------------------------------------------------ + +kmod-coverity-%.tar.xz: + rm -rf $< cov-int + ./bootstrap-configure --disable-python --disable-manpages + make clean + cov-build --dir cov-int make -j 4 + tar caf $@ cov-int + +coverity-tar: kmod-coverity-$(shell git describe).tar.xz + +coverity-sync: kmod-coverity-$(shell git describe).tar.xz + @echo "uploading coverity tarball" + @curl --form token=$(COVERITY_KMOD_TOKEN) \ + --form email=lucas.de.marchi@gmail.com \ + --form file=@$< \ + --form version="$(shell git describe)" \ + --form description="" \ + https://scan.coverity.com/builds?project=kmod + +coverity-clean: + rm -rf kmod-coverity-*.tar.xz cov-int + +# ------------------------------------------------------------------------------ # custom release helpers # ------------------------------------------------------------------------------ |