This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +39
-19
lines changed Expand file tree Collapse file tree 12 files changed +39
-19
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
name : RSpec CI
70
70
legacy :
71
71
name : Legacy Ruby Builds (${{ matrix.container.version }})
72
72
runs-on : ubuntu-20.04
73
- container : ${{ matrix.container.tag }}
73
+ container :
74
+ image : ${{ matrix.container.tag }}
75
+ options : ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
74
76
strategy :
75
77
fail-fast : false
76
78
matrix :
@@ -79,13 +81,25 @@ jobs:
79
81
tag : rspec/ci:2.0.0
80
82
- version : " 1.9.3"
81
83
tag : rspec/ci:1.9.3
84
+ - version : " 1.9.2"
85
+ tag : rspec/ci:1.9.2
86
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
87
+ - version : " REE"
88
+ tag : rspec/ci:ree
89
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
82
90
- version : " JRuby 1.7"
83
91
tag : rspec/ci:jruby-1.7
92
+ - version : " JRuby 1.7 1.8 mode"
93
+ tag : rspec/ci:jruby-1.7
94
+ jruby_opts : ' --dev --1.8'
95
+ pre : gem uninstall jruby-openssl
96
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
84
97
env :
85
98
LEGACY_CI : true
86
99
JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
87
100
steps :
88
101
- uses : actions/checkout@v2
102
+ - run : ${{ matrix.container.pre }}
89
103
- run : script/legacy_setup.sh
90
104
- run : bundle exec bin/rspec
91
105
- run : bundle exec script/cucumber.sh
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# In order to install old Rubies, we need to use old Ubuntu distibution.
@@ -16,12 +16,7 @@ bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
16
16
script : " script/run_build"
17
17
rvm :
18
18
- 1.8.7
19
- - 1.9.2
20
- - ree
21
19
matrix :
22
- include :
23
- - rvm : jruby-1.7
24
- env : JRUBY_OPTS='--dev --1.8'
25
20
fast_finish : true
26
21
branches :
27
22
only :
Original file line number Diff line number Diff line change 46
46
47
47
if RUBY_VERSION <= '2.3.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
48
48
gem "childprocess" , "< 1.0.0"
49
+ elsif RUBY_VERSION < '2.0.0'
50
+ gem "childprocess" , "< 1.0.0"
49
51
end
50
52
51
53
if RUBY_VERSION < '1.9.2'
@@ -57,13 +59,21 @@ if RUBY_VERSION < '2.4.0'
57
59
gem 'minitest' , '< 5.12.0'
58
60
end
59
61
62
+ if RUBY_VERSION < '2.0.0'
63
+ gem 'thor' , '< 1.0.0'
64
+ else
65
+ gem 'thor' , '> 1.0.0'
66
+ end
67
+
60
68
### deps for rdoc.info
61
69
group :documentation do
62
70
gem 'redcarpet' , :platform => :mri
63
71
gem 'github-markup' , :platform => :mri
64
72
end
65
73
66
- gem 'simplecov' , '~> 0.8'
74
+ group :coverage do
75
+ gem 'simplecov' , '~> 0.8'
76
+ end
67
77
68
78
if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
69
79
gem 'json' , '< 2.0.0' # this is a dependency of simplecov
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
6
6
source script/functions.sh
7
7
8
- bundle install --standalone --binstubs
8
+ bundle install --standalone --binstubs --without coverage documentation
9
9
10
10
if [ -x ./bin/rspec ]; then
11
11
echo " RSpec bin detected"
Original file line number Diff line number Diff line change 1
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
30
30
31
31
if supports_cross_build_checks; then
32
32
fold " one-by-one specs" run_specs_one_by_one
33
+ export NO_COVERAGE=true
33
34
run_all_spec_suites
34
35
else
35
36
echo " Skipping the rest of the build on non-MRI rubies"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2021-01-02T20:21:17 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2021-01-22T09:55:42 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
You can’t perform that action at this time.
0 commit comments