fix(ci): bump max cache size on travis

This commit is contained in:
Łukasz Mierzwa
2020-08-12 11:51:58 +01:00
committed by Łukasz Mierzwa
parent 4014222833
commit f42ed4fcba
+1 -1
View File
@@ -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