Skip to content

Commit 758f374

Browse files
committed
Auto merge of #40371 - arielb1:bean-counter, r=alexcrichton
add some disk usage accounting Try to figure out why we are out of free space r? @alexcrichton
2 parents ee60afa + 8bbbfec commit 758f374

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ env:
9898
# AWS_SECRET_ACCESS_KEY=...
9999
- secure: "Pixhh0hXDqGCdOyLtGFjli3J2AtDWIpyb2btIrLe956nCBDRutRoMm6rv5DI9sFZN07Mms7VzNNvhc9wCW1y63JAm414d2Co7Ob8kWMZlz9l9t7ACHuktUiis8yr+S4Quq1Vqd6pqi7pf2J++UxC8R/uLeqVrubzr6+X7AbmEFE="
100100

101+
before_script:
102+
- >
103+
echo "#### Disk usage before running script:";
104+
df -h;
105+
du . | sort -nr | head -n100
106+
101107
script:
102108
- >
103109
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
@@ -110,6 +116,18 @@ script:
110116
src/ci/docker/run.sh $IMAGE;
111117
fi
112118
119+
after_success:
120+
- >
121+
echo "#### Build successful; Disk usage after running script:";
122+
df -h;
123+
du . | sort -nr | head -n100
124+
125+
after_failure:
126+
- >
127+
echo "#### Build failed; Disk usage after running script:";
128+
df -h;
129+
du . | sort -nr | head -n100
130+
113131
# Save tagged docker images we created and load them if they're available
114132
before_cache:
115133
- docker history -q rust-ci |

0 commit comments

Comments
 (0)