From f42ed4fcba1095f37cdcc32da8d703c9a22ea32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Wed, 12 Aug 2020 11:23:22 +0100 Subject: [PATCH] fix(ci): bump max cache size on travis --- scripts/prune-go-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prune-go-cache.sh b/scripts/prune-go-cache.sh index 797855072..ddef54b49 100755 --- a/scripts/prune-go-cache.sh +++ b/scripts/prune-go-cache.sh @@ -10,7 +10,7 @@ GOCACHE=$(go env GOCACHE) SIZE=`du -sxm ${GOCACHE} | awk '{print $1}'` echo "GOCACHE size: ${SIZE}MB" -if [ "${DRY_RUN}" == "" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ $SIZE -gt 3500 ]; then +if [ "${DRY_RUN}" == "" ] && [ "${TRAVIS_BRANCH}" == "master" ] && [ $SIZE -gt 4000 ]; then echo "Pruning GOCACHE at ${GOCACHE}" find "${GOCACHE}" -type f -delete fi