File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1313echo ' Starting script/cibuild'
1414
1515DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && cd .. && pwd ) "
16+
17+ echo " travis_fold:start:cibuild-environment-dump"
1618env
19+ echo " travis_fold:end:cibuild-environment-dump"
1720
1821# Create a temporary file to capture output of various steps.
1922export OUTPUT_FILE=" $( mktemp) "
@@ -28,16 +31,19 @@ trap cleanup EXIT
2831ruby -e " print RUBY_VERSION" > " ${DIR} /.ruby-version"
2932
3033# Bootstrapping
34+ BOOTSTRAPPING_COUNTER=0
3135function bootstrap() {
32- echo " Bootstrapping..."
33- time " ${DIR} /script/bootstrap" > " $OUTPUT_FILE " 2>&1
36+ echo " travis_fold:start:bootstrap.${BOOTSTRAPPING_COUNTER} "
37+ time " ${DIR} /script/bootstrap"
38+ bootstrap_exitcode=$?
39+ echo " travis_fold:end:bootstrap.${BOOTSTRAPPING_COUNTER} "
40+
3441 if [ $? -ne 0 ]; then
3542 echo " Bootstrap failed!"
36- cat " $OUTPUT_FILE "
3743 exit 1
3844 fi
39- echo " "
40- > " $OUTPUT_FILE "
45+
46+ let BOOTSTRAPPING_COUNTER=BOOTSTRAPPING_COUNTER+1
4147}
4248
4349# This runs rubocop
You can’t perform that action at this time.
0 commit comments