Skip to content

Commit 4330554

Browse files
authored
Merge pull request #160 from github/kpaulisse-bundler-install-bootstrap
When running under travis install our version of the bundler gem
2 parents 8893179 + 2c04cdd commit 4330554

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ language: ruby
44
install: true
55
script: "script/cibuild"
66

7-
before_install:
8-
- gem install bundler -v 1.15.4
9-
107
matrix:
118
include:
129
# Build with latest ruby

octocatalog-diff.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ EOF
2929
s.add_runtime_dependency 'hashdiff', '>= 0.3.0'
3030
s.add_runtime_dependency 'rugged', '>= 0.25.0b2'
3131

32-
s.add_development_dependency 'bundler', '1.15.4'
3332
s.add_development_dependency 'rspec', '~> 3.4.0'
3433
s.add_development_dependency 'rake', '11.2.2'
3534
s.add_development_dependency 'parallel_tests', '2.7.1'

script/cibuild

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
echo 'Starting script/cibuild'
1414

1515
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
16+
17+
echo "travis_fold:start:cibuild-environment-dump"
1618
env
19+
echo "travis_fold:end:cibuild-environment-dump"
1720

1821
# Create a temporary file to capture output of various steps.
1922
export OUTPUT_FILE="$(mktemp)"
@@ -28,16 +31,19 @@ trap cleanup EXIT
2831
ruby -e "print RUBY_VERSION" > "${DIR}/.ruby-version"
2932

3033
# Bootstrapping
34+
BOOTSTRAPPING_COUNTER=0
3135
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+
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

vendor/cache/bundler-1.15.4.gem

-330 KB
Binary file not shown.

0 commit comments

Comments
 (0)