ci: travis: let Coverity scan run be executed every night until release

Normally we only have this running on Saturday, which is fine for the
normal development cycle. Being close to a release now I would like to
get result updates every day. This will be switched back to weekly after
the 1.23 release.
This commit is contained in:
Stefan Schmidt 2019-09-16 11:09:02 +02:00
parent 5daac17e99
commit 5028b6b7c0
2 changed files with 7 additions and 7 deletions

View File

@ -57,10 +57,10 @@ if [ "$DISTRO" != "" ] ; then
fi
if [ "$1" = "coverity" ]; then
if [ $(date +%A) != "Saturday" ]; then
echo "Not Saturday so we are not running our weekly Coverity scan build."
exit 0
fi
# if [ $(date +%A) != "Saturday" ]; then
# echo "Not Saturday so we are not running our weekly Coverity scan build."
# exit 0
# fi
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
travis_fold cov-download cov-download
docker exec --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c '.ci/coverity-tools-install.sh'

View File

@ -8,9 +8,9 @@ fi
travis_fold ninja ninja
if [ "$DISTRO" != "" ] ; then
if [ "$1" = "coverity" ] ; then
if [ $(date +%A) != "Saturday" ]; then
exit 0
fi
# if [ $(date +%A) != "Saturday" ]; then
# exit 0
# fi
docker exec --env EIO_MONITOR_POLL=1 --env PATH="/src/cov-analysis-linux64-2019.03/bin:$PATH" $(cat $HOME/cid) sh -c "cov-build --dir cov-int ninja -C build"
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c "tar caf efl-$(git rev-parse --short HEAD).xz cov-int"
docker exec --env EIO_MONITOR_POLL=1 --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c ".ci/coverity-upload.sh"