File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,6 @@ language: ruby
4
4
install : true
5
5
script : " script/cibuild"
6
6
7
- before_install :
8
- - gem install bundler -v 1.15.4
9
-
10
7
matrix :
11
8
include :
12
9
# Build with latest ruby
Original file line number Diff line number Diff line change 29
29
s . add_runtime_dependency 'hashdiff' , '>= 0.3.0'
30
30
s . add_runtime_dependency 'rugged' , '>= 0.25.0b2'
31
31
32
- s . add_development_dependency 'bundler' , '1.15.4'
33
32
s . add_development_dependency 'rspec' , '~> 3.4.0'
34
33
s . add_development_dependency 'rake' , '11.2.2'
35
34
s . add_development_dependency 'parallel_tests' , '2.7.1'
Original file line number Diff line number Diff line change 13
13
echo ' Starting script/cibuild'
14
14
15
15
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && cd .. && pwd ) "
16
+
17
+ echo " travis_fold:start:cibuild-environment-dump"
16
18
env
19
+ echo " travis_fold:end:cibuild-environment-dump"
17
20
18
21
# Create a temporary file to capture output of various steps.
19
22
export OUTPUT_FILE=" $( mktemp) "
@@ -28,16 +31,19 @@ trap cleanup EXIT
28
31
ruby -e " print RUBY_VERSION" > " ${DIR} /.ruby-version"
29
32
30
33
# Bootstrapping
34
+ BOOTSTRAPPING_COUNTER=0
31
35
function 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
+
34
41
if [ $? -ne 0 ]; then
35
42
echo " Bootstrap failed!"
36
- cat " $OUTPUT_FILE "
37
43
exit 1
38
44
fi
39
- echo " "
40
- > " $OUTPUT_FILE "
45
+
46
+ let BOOTSTRAPPING_COUNTER=BOOTSTRAPPING_COUNTER+1
41
47
}
42
48
43
49
# This runs rubocop
You can’t perform that action at this time.
0 commit comments