2016-11-29 21:21:53 -08:00
|
|
|
#!/bin/bash -eux
|
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
|
2017-02-24 16:58:56 -08:00
|
|
|
declare -a args
|
2017-10-03 12:43:46 -07:00
|
|
|
IFS='/:' read -ra args <<< "$1"
|
2017-01-10 10:30:41 -08:00
|
|
|
|
2017-02-24 16:58:56 -08:00
|
|
|
version="${args[1]}"
|
2017-01-10 10:30:41 -08:00
|
|
|
|
2017-05-14 15:04:52 +08:00
|
|
|
# shellcheck disable=SC2086
|
2018-01-23 10:00:55 -08:00
|
|
|
ansible-test units --color -v --docker default --python "${version}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
|