Add support for on-demand coverage on Shippable.

Triggered by setting the COVERAGE environment var to a non-empty value.
Alternatively the string `ci_coverage` can be added to a commit message.
This commit is contained in:
Matt Clay 2017-05-07 16:32:19 +08:00
commit 7b3f0b8870
8 changed files with 17 additions and 10 deletions

View file

@ -8,4 +8,4 @@ IFS='/:' read -ra args <<< "${TEST}"
image="ansible/ansible:${args[1]}"
target="posix/ci/group${args[2]}/"
ansible-test integration --color -v --retry-on-error "${target}" --docker "${image}"
ansible-test integration --color -v --retry-on-error "${target}" --docker "${image}" "${COVERAGE}"