traefik/script/test-integration
Charlie Haley 5a225b4196
test: upgrade docker-compose
Co-authored-by: Rémi Buisson <remi.buisson@traefik.io>
2021-11-25 11:10:06 +01:00

20 lines
334 B
Bash
Executable file

#!/usr/bin/env bash
set -e
export DEST=.
TESTFLAGS+=("-test.timeout=20m" -check.v)
if [ -n "$VERBOSE" ]; then
TESTFLAGS+=(-v)
elif [ -n "$VERBOSE_INTEGRATION" ]; then
TESTFLAGS+=(-v)
fi
cd integration
echo "Testing against..."
docker version
# shellcheck disable=SC2086
CGO_ENABLED=0 go test -integration ${TESTFLAGS[*]}