summaryrefslogtreecommitdiff
path: root/test/utils/shippable/windows.sh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-05-07 16:32:19 +0800
committerMatt Clay <matt@mystile.com>2017-05-12 14:55:48 +0800
commit7b3f0b88701b08b05e9f850d329aaa6db98c9e4c (patch)
tree6063c73f7935194439e3946dbdde747471f67c32 /test/utils/shippable/windows.sh
parentdfd19a812f6f418025f8968a80772054abf28cb7 (diff)
downloadansible-7b3f0b88701b08b05e9f850d329aaa6db98c9e4c.tar.gz
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.
Diffstat (limited to 'test/utils/shippable/windows.sh')
-rwxr-xr-xtest/utils/shippable/windows.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/shippable/windows.sh b/test/utils/shippable/windows.sh
index 7ac724c8ce..0c7a0dd8cc 100755
--- a/test/utils/shippable/windows.sh
+++ b/test/utils/shippable/windows.sh
@@ -22,7 +22,7 @@ if [ -s /tmp/windows.txt ]; then
target="windows/ci/"
- ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements \
+ ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
--windows 2008-SP2 \
--windows 2008-R2_SP1 \
--windows 2012-RTM \
@@ -34,6 +34,6 @@ else
target="windows/ci/group${job}/"
- ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements \
+ ansible-test windows-integration --color -v --retry-on-error "${target}" --requirements "${COVERAGE}" \
--windows 2012-R2_RTM
fi