Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit b7067c5

Browse files
authored
Merge pull request #2668 from rspec/update-travis-build-scripts-2019-10-21-for-master
Updates from rspec-dev (2019-10-21)
2 parents 82928aa + 81b26a6 commit b7067c5

9 files changed

+21
-10
lines changed

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# This file contains defaults for RSpec projects. Individual projects

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# In order to install old Rubies, we need to use old Ubuntu distibution.

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
version: "{build}"

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
2+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/functions.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@@ -187,7 +187,10 @@ function run_all_spec_suites {
187187
fold "rspec-core specs" run_spec_suite_for "rspec-core"
188188
fold "rspec-expectations specs" run_spec_suite_for "rspec-expectations"
189189
fold "rspec-mocks specs" run_spec_suite_for "rspec-mocks"
190-
fold "rspec-rails specs" run_spec_suite_for "rspec-rails"
190+
191+
if rspec_rails_compatible; then
192+
fold "rspec-rails specs" run_spec_suite_for "rspec-rails"
193+
fi
191194

192195
if rspec_support_compatible; then
193196
fold "rspec-support specs" run_spec_suite_for "rspec-support"

script/predicate_functions.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
function is_mri {
@@ -65,6 +65,14 @@ function is_ruby_23_plus {
6565
fi
6666
}
6767

68+
function rspec_rails_compatible {
69+
if is_ruby_23_plus; then
70+
return 0
71+
else
72+
return 1
73+
fi
74+
}
75+
6876
function rspec_support_compatible {
6977
if [ "$MAINTENANCE_BRANCH" != "2-99-maintenance" ] && [ "$MAINTENANCE_BRANCH" != "2-14-maintenance" ]; then
7078
return 0

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
2+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/travis_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
1+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# Taken from:

script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2019-07-24T15:33:48+02:00 from the rspec-dev repo.
2+
# This file was generated on 2019-10-21T09:35:11+01:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

0 commit comments

Comments
 (0)