diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-12-30 11:38:03 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-12-30 11:39:39 -0500 |
commit | 2af38d11ed58d95f050dc08cc038d6b4aa30ac91 (patch) | |
tree | 897a9196ffefcaf3fba49e79e6aaec30fa9edc1d /.ci/ci-make-check.sh | |
parent | 9c41899a085faadaaa1d0ed1decee3457eedbc46 (diff) | |
download | efl-2af38d11ed58d95f050dc08cc038d6b4aa30ac91.tar.gz |
ci: create a daily build to run with coverage enabled and upload to codecov
Summary:
For this we bring back a native Linux build on the Travis with Ubuntu
bionic. This allows use easy integration with codecov as Travis and
Codecov have figured out all details.
This means we need to be a bit more careful with our $DIST checks as
empty no longer means osx. It could as well be the Linux job.
Covergae reports will show up here:
https://codecov.io/gh/Enlightenment/efl
We are starting with 36%. Time to improve. :-)
Fixes: T7910
Reviewers: bu5hm4n, zmike
Reviewed By: zmike
Subscribers: cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10867
Diffstat (limited to '.ci/ci-make-check.sh')
-rwxr-xr-x | .ci/ci-make-check.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh index 44f5f2bf90..afbf74da35 100755 --- a/.ci/ci-make-check.sh +++ b/.ci/ci-make-check.sh @@ -3,11 +3,23 @@ set -e . .ci/travis.sh -if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ]; then +if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ] ; then exit 0 fi NUM_TRIES=5 + +if [ "$1" = "codecov" ] ; then + for tries in $(seq 1 ${NUM_TRIES}); do + meson test -t 120 -C build --wrapper dbus-launch && break + cat build/meson-logs/testlog-dbus-launch.txt + if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi + false + done + curl -s https://codecov.io/bash | bash -s - + exit 0 +fi + travis_fold check "ninja test" if [ "$DISTRO" != "" ] ; then for tries in $(seq 1 ${NUM_TRIES}); do |