travis: Try to work around CI slowdowns

I think they throttle strangely on their garbage machines.
This commit is contained in:
James Shubin
2019-07-17 00:15:26 -04:00
parent e57ca15330
commit 0119abdcdd

View File

@@ -7,6 +7,11 @@ ROOT=$(dirname "${BASH_SOURCE}")/..
cd "${ROOT}" cd "${ROOT}"
. test/util.sh . test/util.sh
# travis is slow for some reason
if env | grep -q -e '^TRAVIS=true$'; then
export GO_TEST_TIMEOUT_SCALE=3
fi
# if we want to run this test as root, use build tag -root to ask each test... # if we want to run this test as root, use build tag -root to ask each test...
XSUDO='' XSUDO=''
XTAGS=() XTAGS=()