netbox-docker/hooks/test

16 lines
349 B
Plaintext
Raw Normal View History

2019-02-01 09:58:07 +01:00
#!/bin/bash
. hooks/common
# test on builds of 'branches'
2019-10-15 00:47:19 +02:00
if [ "${BUILD}" == "branches" ] \
|| [ "${DEBUG}" == "true" ]; then
./test.sh latest
./test.sh snapshot
# test on bulds of 'this' (i.e. pull request)
elif [ "${BUILD}" == "this" ]; then
./test.sh latest
2019-02-01 09:58:07 +01:00
else
echo "🐳🐳🐳 No tests are implemented for build '${BUILD}'."
2019-02-01 09:58:07 +01:00
fi