File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 67
67
legacy :
68
68
name : Legacy Ruby Builds (${{ matrix.container.version }})
69
69
runs-on : ubuntu-20.04
70
- container : ${{ matrix.container.tag }}
70
+ container :
71
+ image : ${{ matrix.container.tag }}
72
+ options : ${{ matrix.container.options || '--add-host github-complains-if-this-is-empty.com:127.0.0.1' }}
71
73
strategy :
72
74
fail-fast : false
73
75
matrix :
@@ -76,13 +78,25 @@ jobs:
76
78
tag : rspec/ci:2.0.0
77
79
- version : " 1.9.3"
78
80
tag : rspec/ci:1.9.3
81
+ - version : " 1.9.2"
82
+ tag : rspec/ci:1.9.2
83
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
84
+ - version : " REE"
85
+ tag : rspec/ci:ree
86
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
79
87
- version : " JRuby 1.7"
80
88
tag : rspec/ci:jruby-1.7
89
+ - version : " JRuby 1.7 1.8 mode"
90
+ tag : rspec/ci:jruby-1.7
91
+ jruby_opts : ' --dev --1.8'
92
+ pre : gem uninstall jruby-openssl
93
+ options : " --add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
81
94
env :
82
95
LEGACY_CI : true
83
96
JRUBY_OPTS : ${{ matrix.container.jruby_opts || '--dev' }}
84
97
steps :
85
98
- uses : actions/checkout@v2
99
+ - run : ${{ matrix.container.pre }}
86
100
- run : script/legacy_setup.sh
87
101
- run : bundle exec bin/rspec
88
102
- run : bundle exec script/cucumber.sh
Original file line number Diff line number Diff line change @@ -13,12 +13,7 @@ bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
13
13
script : " script/run_build"
14
14
rvm :
15
15
- 1.8.7
16
- - 1.9.2
17
- - ree
18
16
matrix :
19
- include :
20
- - rvm : jruby-1.7
21
- env : JRUBY_OPTS='--dev --1.8'
22
17
fast_finish : true
23
18
branches :
24
19
only :
Original file line number Diff line number Diff line change 2
2
set -e
3
3
source script/functions.sh
4
4
5
- bundle install --standalone --binstubs
5
+ bundle install --standalone --binstubs --without coverage documentation
6
6
7
7
if [ -x ./bin/rspec ]; then
8
8
echo " RSpec bin detected"
You can’t perform that action at this time.
0 commit comments