summaryrefslogtreecommitdiff
path: root/.ci/ci-make-check.sh
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-12-30 11:38:03 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-30 11:39:39 -0500
commit2af38d11ed58d95f050dc08cc038d6b4aa30ac91 (patch)
tree897a9196ffefcaf3fba49e79e6aaec30fa9edc1d /.ci/ci-make-check.sh
parent9c41899a085faadaaa1d0ed1decee3457eedbc46 (diff)
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.sh14
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 @@
3set -e 3set -e
4. .ci/travis.sh 4. .ci/travis.sh
5 5
6if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ]; then 6if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ] ; then
7 exit 0 7 exit 0
8fi 8fi
9 9
10NUM_TRIES=5 10NUM_TRIES=5
11
12if [ "$1" = "codecov" ] ; then
13 for tries in $(seq 1 ${NUM_TRIES}); do
14 meson test -t 120 -C build --wrapper dbus-launch && break
15 cat build/meson-logs/testlog-dbus-launch.txt
16 if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
17 false
18 done
19 curl -s https://codecov.io/bash | bash -s -
20 exit 0
21fi
22
11travis_fold check "ninja test" 23travis_fold check "ninja test"
12if [ "$DISTRO" != "" ] ; then 24if [ "$DISTRO" != "" ] ; then
13 for tries in $(seq 1 ${NUM_TRIES}); do 25 for tries in $(seq 1 ${NUM_TRIES}); do