diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2015-02-24 09:48:35 +0100 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-03-04 11:44:05 +0000 |
commit | 35f0a9e6805d2a13d6b7facbe25de09bab82e259 (patch) | |
tree | 53099666c33e335a380b60dcaa2b8d08fa4883a0 /odp-publish.yaml | |
parent | d7fc1f28981f02c9b218a57547edb35d66fe36f3 (diff) |
odp-publish: enable lcov in a docker build
Change-Id: I4af8e34ae397a87462e0e3447f2dd5d275c0b9a5
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'odp-publish.yaml')
-rw-r--r-- | odp-publish.yaml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/odp-publish.yaml b/odp-publish.yaml new file mode 100644 index 0000000000..5523453594 --- /dev/null +++ b/odp-publish.yaml @@ -0,0 +1,73 @@ +- job: + name: odp-publish + project-type: matrix + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + disabled: false + node: master + child-workspace: . + display-name: 'ODP publish' + triggers: + - timed: '@daily' + axes: + - axis: + type: user-defined + name: build_type + values: + - lcov + - axis: + type: slave + name: label + values: + - docker-utopic + wrappers: + - timestamps + - matrix-tie-parent: + node: master + builders: + - shell: | + #!/bin/bash + # Assume build-dependencies packages are installed + # build-essential git autoconf automake libtool doxygen libssl-dev + + set -ex + + rm -rf check-odp + git clone --depth 1 -b cleanup git://git.linaro.org/people/anders.roxell/check-odp.git + + sudo apt-get install -y --no-install-recommends libssl-dev + + case "${build_type}" in + lcov) + sudo apt-get install -y --no-install-recommends lcov + export LCOV=1 + ;; + esac + + bash -x ${WORKSPACE}/check-odp/build.sh + - ssh: + site: 'docs.opendataplane.org' + target: '' + source: 'check-odp/publishing/**' + timeout: 120000 + remove-prefix: 'check-odp/publishing' + always-publish-from-master: true + publishers: + - warnings: + console-log-parsers: + - 'GNU Make + GNU C Compiler (gcc)' + - email: + recipients: 'anders.roxell@linaro.org' |