Skip to content

Commit d4b8c69

Browse files
committed
temp! Add bundle install --verbose
#2366 (comment)
1 parent 7643f3b commit d4b8c69

File tree

2 files changed

+2
-57
lines changed

2 files changed

+2
-57
lines changed

.travis.yml

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,7 @@ sudo: required
44
addons:
55
chrome: stable
66

7-
# We deviate from the rspec-dev cache setting here.
8-
#
9-
# Travis has special bundler support where it knows to run `bundle clean`
10-
# before backing up the bundle so it doesn't grow indefinitely.
11-
#
12-
# For the other repos we changed to specifying the directory specifically to
13-
# avoid the `bundle clean` travis was doing, because Myron found that, when
14-
# running one of the a build for one repo, the "run the rspec-core and
15-
# rspec-rails spec suites" parts would take a while because it would _always_
16-
# have to install fresh gems (they weren't in the cache). This was happening
17-
# because travis was running `bundle clean` (due to the previous `cache:
18-
# bundler` config) against one repo which was was pruning gems installed for
19-
# the other repos.
20-
#
21-
# In our case, we aren't running the spec suites for the other repos so the
22-
# original `cache: bundler` is a better option.
23-
cache: bundler
24-
25-
bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3"
7+
bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3 --verbose"
268

279
before_install:
2810
- script/install_chrome_driver
@@ -45,39 +27,6 @@ matrix:
4527
- RAILS_VERSION='~> 6.0.0'
4628
- JRUBY_OPT=--dev
4729
- JAVA_OPTS="--add-opens java.base/sun.nio.ch=org.jruby.dist --add-opens java.base/java.io=org.jruby.dist --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/javax.crypto=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED"
48-
- rvm: 2.7.1
49-
env: RAILS_VERSION='~> 6.0.0'
50-
- rvm: 2.6.6
51-
env: RAILS_VERSION='~> 6.0.0'
52-
- rvm: 2.5.8
53-
env: RAILS_VERSION='~> 6.0.0'
54-
55-
# Rails 5.2 builds >= 2.2.2
56-
- rvm: jruby-head
57-
jdk: oraclejdk11
58-
env:
59-
- RAILS_VERSION='~> 5.2.0'
60-
- JRUBY_OPT=--dev
61-
- JAVA_OPTS="--add-opens java.base/sun.nio.ch=org.jruby.dist --add-opens java.base/java.io=org.jruby.dist --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/javax.crypto=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED"
62-
- rvm: 2.6.6
63-
env: RAILS_VERSION='~> 5.2.0'
64-
- rvm: 2.5.8
65-
env: RAILS_VERSION='~> 5.2.0'
66-
- rvm: 2.4.10
67-
env: RAILS_VERSION='~> 5.2.0'
68-
- rvm: 2.3.8
69-
env: RAILS_VERSION='~> 5.2.0'
70-
- rvm: 2.2.10
71-
env: RAILS_VERSION='~> 5.2.0'
72-
allow_failure: true
73-
- rvm: 2.2.10
74-
env: RAILS_VERSION='5-2-stable'
75-
76-
# Rails 5.1 Builds >= 2.2.2
77-
- rvm: 2.6.6
78-
env: RAILS_VERSION='~> 5.1.0'
79-
- rvm: 2.5.8
80-
env: RAILS_VERSION='~> 5.1.0'
8130
- rvm: 2.4.10
8231
env: RAILS_VERSION='~> 5.1.0'
8332
- rvm: 2.3.8
@@ -86,10 +35,6 @@ matrix:
8635
env: RAILS_VERSION='~> 5.1.0'
8736

8837
# Rails 5.0 Builds >= 2.2.2
89-
- rvm: 2.6.6
90-
env: RAILS_VERSION='~> 5.0.0'
91-
- rvm: 2.5.8
92-
env: RAILS_VERSION='~> 5.0.0'
9338
- rvm: 2.4.10
9439
env: RAILS_VERSION='~> 5.0.0'
9540
- rvm: 2.3.8

script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function run_spec_suite_for {
7878
pushd ../$1
7979
unset BUNDLE_GEMFILE
8080
bundle_install_flags=`cat .travis.yml | grep bundler_args | tr -d '"' | grep -o " .*"`
81-
travis_retry eval "(unset RUBYOPT; exec bundle install $bundle_install_flags)"
81+
travis_retry eval "(unset RUBYOPT; exec bundle install --verbose $bundle_install_flags)"
8282
run_specs_and_record_done
8383
popd
8484
else

0 commit comments

Comments
 (0)