2017-04-21 09:23:45 +00:00
|
|
|
#!/usr/bin/env bash
|
2016-02-19 11:58:06 +00:00
|
|
|
set -e
|
2015-09-15 19:38:54 +00:00
|
|
|
|
|
|
|
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
export DEST=.
|
|
|
|
|
2016-11-14 16:41:12 +00:00
|
|
|
TESTFLAGS="${TESTFLAGS} -test.timeout=9m -check.v"
|
2016-03-23 22:06:22 +00:00
|
|
|
|
|
|
|
if [ -n "$VERBOSE" ]; then
|
|
|
|
TESTFLAGS="${TESTFLAGS} -v"
|
|
|
|
fi
|
2015-09-27 13:56:53 +00:00
|
|
|
|
|
|
|
cd integration
|
2016-05-12 15:18:58 +00:00
|
|
|
echo "Testing against…"
|
|
|
|
docker version
|
2017-10-13 09:08:03 +00:00
|
|
|
CGO_ENABLED=0 go test -integration $TESTFLAGS
|