Skip to content

Commit 2b61054

Browse files
committed
Merge pull request #156 from rspec/build_updates
Build updates
2 parents 0279ce5 + 7b17591 commit 2b61054

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def force_update(branch)
491491
end
492492

493493
def update_files_in_repos(purpose, suffix='')
494-
branch_name = "update-#{purpose.gsub ' ', '-'}-#{Date.today.iso8601}-for-#{BASE_BRANCH}"
494+
branch_name = "update-#{purpose.gsub ' ', '-'}-#{ENV.fetch('BRANCH_DATE',Date.today.iso8601)}-for-#{BASE_BRANCH}"
495495

496496
each_project_with_common_build do |proj|
497497
assert_clean_git_status(proj)

travis/.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ cache:
66
before_install:
77
- "script/clone_all_rspec_repos"
88
# Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3
9-
- if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "!= 1.12.0, != 1.12.1"; fi
9+
- if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi
10+
- alias bundle="bundle _1.11.2_"
1011
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
1112
script: "script/run_build"
1213
rvm:

travis/appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install:
1515
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
1616
- ruby --version
1717
- gem --version
18-
- gem install bundler
18+
- gem install bundler -v "!= 1.12.0, != 1.12.1, != 1.12.2, != 1.12.3"
1919
- bundler --version
2020
- bundle install
2121
- cinst ansicon

0 commit comments

Comments
 (0)