summaryrefslogtreecommitdiff
path: root/.travis.yml
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 /.travis.yml
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 '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 15a5aeb93c..1af79309c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ cache:
5 directories: 5 directories:
6 - $HOME/cachedir 6 - $HOME/cachedir
7 - $HOME/.ccache 7 - $HOME/.ccache
8dist: trusty 8dist: bionic
9 9
10osx_image: xcode10.2 10osx_image: xcode10.2
11 11
@@ -74,6 +74,9 @@ jobs:
74 - os: linux 74 - os: linux
75 if: type = cron 75 if: type = cron
76 env: DISTRO=Fedora31 CI_BUILD_TYPE=asan 76 env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
77 - os: linux
78 if: type = cron
79 env: CI_BUILD_TYPE=codecov
77 80
78services: 81services:
79 - docker 82 - docker
@@ -94,6 +97,10 @@ before_script:
94 docker version 97 docker version
95 docker run --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash 98 docker run --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
96 fi 99 fi
100 - |
101 if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then
102 .ci/ubuntu-bionic-install-deps.sh
103 fi
97 - .ci/ci-ccache-stats.sh 104 - .ci/ci-ccache-stats.sh
98 105
99script: 106script: