summaryrefslogtreecommitdiff
path: root/.ci/coverity-upload.sh
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-06-25 12:11:33 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-25 12:11:33 -0400
commit4f0989f2904c20ad2768b8244190b82b701c0564 (patch)
tree214791646acc23c2c0b87452882d155a1351ada6 /.ci/coverity-upload.sh
parent8103b5687479385b3b2ba0fe5eddb9e6ce6b50c4 (diff)
downloadefl-4f0989f2904c20ad2768b8244190b82b701c0564.tar.gz
ci: travis: add coverity build job to be run from cron
Summary: We finally have regular Coverity Scan runs back to our CI. It gets triggered from the cron jobs on Travis. As we are not able to identify if it comes from a daily or weekly cron build I added a check to only run the scan build on a Saturday so we should have a nice and fresh report on Monday morning in our mailboxes. Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9175
Diffstat (limited to '.ci/coverity-upload.sh')
-rwxr-xr-x.ci/coverity-upload.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/.ci/coverity-upload.sh b/.ci/coverity-upload.sh
new file mode 100755
index 0000000000..0b68bcb70b
--- /dev/null
+++ b/.ci/coverity-upload.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+curl --form token=$COVERITY_SCAN_TOKEN \
+ --form email=stefan@datenfreihafen.org \
+ --form file=@efl-$(git rev-parse --short HEAD).xz \
+ --form version=$(git rev-parse --short HEAD) \
+ --form description="Submission from Travis CI" \
+ https://scan.coverity.com/builds?project=Enlightenment+Foundation+Libraries