summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-02-05 14:20:42 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-02-05 16:28:03 +0100
commitc8361a761ad54343bde98dedd32f7a1b979e20a1 (patch)
treef845cd277a707cc24ea72fc112e17e8754cf5b81
parent96994596064fb76ef4cd089d834aa00da07b9477 (diff)
try to run it with codecov
-rwxr-xr-x.ci/ci-make-check.sh17
-rw-r--r--.travis.yml1
2 files changed, 10 insertions, 8 deletions
diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh
index d7c4a47d89..99703141d0 100755
--- a/.ci/ci-make-check.sh
+++ b/.ci/ci-make-check.sh
@@ -10,12 +10,15 @@ fi
10NUM_TRIES=5 10NUM_TRIES=5
11 11
12if [ "$1" = "codecov" ] ; then 12if [ "$1" = "codecov" ] ; then
13 for tries in $(seq 1 ${NUM_TRIES}); do 13# for tries in $(seq 1 ${NUM_TRIES}); do
14 meson test -t 120 -C build --wrapper dbus-launch && break 14# meson test -t 120 -C build --wrapper dbus-launch && break
15 cat build/meson-logs/testlog-dbus-launch.txt 15# cat build/meson-logs/testlog-dbus-launch.txt
16 if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi 16# if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
17 false 17# false
18 done 18# done
19 git clone --depth=1 --branch=devs/stefan/ci-integration https://git.enlightenment.org/tools/exactness-elm-data.git
20 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64
21 EINA_LOG_LEVELS_GLOB=eina_*:0,ecore*:0,efreet*:0,eldbus:0,elementary:0 exactness -j 20 -b exactness-elm-data/default-profile -p exactness-elm-data/default-profile/ci-integration-tests.txt
19 curl -s https://codecov.io/bash | bash -s - 22 curl -s https://codecov.io/bash | bash -s -
20 exit 0 23 exit 0
21fi 24fi
@@ -35,7 +38,7 @@ if [ "$DISTRO" != "" ] ; then
35 if [ "$1" = "exactness" ] ; then 38 if [ "$1" = "exactness" ] ; then
36 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c 'cd /; git clone --depth=1 --branch=devs/stefan/ci-integration https://git.enlightenment.org/tools/exactness-elm-data.git' # How should we cache this? 39 docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c 'cd /; git clone --depth=1 --branch=devs/stefan/ci-integration https://git.enlightenment.org/tools/exactness-elm-data.git' # How should we cache this?
37#docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c 'cd /exactness-elm-data; git checkout origin/devs/stefan/init-shots-docker-travis-ci -b docker' 40#docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c 'cd /exactness-elm-data; git checkout origin/devs/stefan/init-shots-docker-travis-ci -b docker'
38 docker exec --env EIO_MONITOR_POLL=1 --env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64 --env EINA_LOG_LEVELS_GLOB=eina_*:0,ecore*:0,efreet*:0,eldbus:0,elementary:0 $(cat $HOME/cid) exactness -j 20 -b /exactness-elm-data/default-profile -p /exactness-elm-data/default-profile/tests.txt 41 docker exec --env EIO_MONITOR_POLL=1 --env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64 --env EINA_LOG_LEVELS_GLOB=eina_*:0,ecore*:0,efreet*:0,eldbus:0,elementary:0 $(cat $HOME/cid) exactness -j 20 -b /exactness-elm-data/default-profile -p /exactness-elm-data/default-profile/ci-integration-tests.txt
39 fi 42 fi
40fi 43fi
41ret=$? 44ret=$?
diff --git a/.travis.yml b/.travis.yml
index 001977a415..0b04b0ac69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -77,7 +77,6 @@ jobs:
77 if: type = cron 77 if: type = cron
78 env: DISTRO=Fedora31 CI_BUILD_TYPE=asan 78 env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
79 - os: linux 79 - os: linux
80 if: type = cron
81 env: CI_BUILD_TYPE=codecov 80 env: CI_BUILD_TYPE=codecov
82 - os: linux 81 - os: linux
83 if: type = cron 82 if: type = cron