Fix make validate on MacOS outside container

This commit is contained in:
Damien Duportal 2019-05-06 09:40:04 +02:00 committed by Traefiker Bot
parent 79ad4b4544
commit 72397ef90c
4 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
export SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export SCRIPT_DIR
export DEST=.
TESTFLAGS="${TESTFLAGS} -test.timeout=20m -check.v"
@ -25,4 +25,4 @@ fi
if [ -n "$TEST_HOST" ]; then
echo "Testing from host…"
CGO_ENABLED=0 go test -integration -host $TESTFLAGS
fi
fi