Skip to content

Commit

Permalink
travis: Try to work around CI slowdowns
Browse files Browse the repository at this point in the history
I think they throttle strangely on their garbage machines.
  • Loading branch information
purpleidea committed Jul 17, 2019
1 parent e57ca15 commit 0119abd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test-gotest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ROOT=$(dirname "${BASH_SOURCE}")/..
cd "${ROOT}"
. 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...
XSUDO=''
XTAGS=()
Expand Down

0 comments on commit 0119abd

Please sign in to comment.