summaryrefslogtreecommitdiff
path: root/.ci/ci-make.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.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.sh')
-rwxr-xr-x.ci/ci-make.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/.ci/ci-make.sh b/.ci/ci-make.sh
index 167e2369cb..5611f5dca4 100755
--- a/.ci/ci-make.sh
+++ b/.ci/ci-make.sh
@@ -12,6 +12,7 @@ if [ "$1" = "asan" ]; then
12 docker exec --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=abort_on_error=0 --env LSAN_OPTIONS=suppressions=/src/.ci/asan-ignore-leaks.supp $(cat $HOME/cid) ninja -C build 12 docker exec --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=abort_on_error=0 --env LSAN_OPTIONS=suppressions=/src/.ci/asan-ignore-leaks.supp $(cat $HOME/cid) ninja -C build
13 exit $? 13 exit $?
14fi 14fi
15
15if [ "$DISTRO" != "" ] ; then 16if [ "$DISTRO" != "" ] ; then
16 if [ "$1" = "coverity" ] ; then 17 if [ "$1" = "coverity" ] ; then
17 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" 18 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"
@@ -20,8 +21,10 @@ if [ "$DISTRO" != "" ] ; then
20 else 21 else
21 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build 22 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build
22 fi 23 fi
23else 24elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
24 export PATH="$(brew --prefix gettext)/bin:$PATH" 25 export PATH="$(brew --prefix gettext)/bin:$PATH"
25 ninja -C build 26 ninja -C build
27else
28 ninja -C build
26fi 29fi
27travis_endfold ninja 30travis_endfold ninja