Skip to content

Commit e49ea1f

Browse files
committed
JRuby 1.7 --1.8
1 parent 22ea5a2 commit e49ea1f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

ci/.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
legacy:
6868
name: Legacy Ruby Builds (${{ matrix.container.version }})
6969
runs-on: ubuntu-20.04
70-
container: ${{ matrix.container.tag }}
70+
container:
71+
image: ${{ matrix.container.tag }}
72+
options: ${{ matrix.container.options }}
7173
strategy:
7274
fail-fast: false
7375
matrix:
@@ -78,11 +80,17 @@ jobs:
7880
tag: rspec/ci:1.9.3
7981
- version: "JRuby 1.7"
8082
tag: rspec/ci:jruby-1.7
83+
- version: "JRuby 1.7 1.8 mode"
84+
tag: rspec/ci:jruby-1.7
85+
jruby_opts: '--dev --1.8'
86+
pre: gem uninstall jruby-openssl
87+
options: "--add-host rubygems.org:151.101.0.70 --add-host api.rubygems.org:151.101.0.70"
8188
env:
8289
LEGACY_CI: true
8390
JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }}
8491
steps:
8592
- uses: actions/checkout@v2
93+
- run: ${{ matrix.container.pre }}
8694
- run: script/legacy_setup.sh
8795
- run: bundle exec bin/rspec
8896
- run: bundle exec script/cucumber.sh

ci/.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ rvm:
1616
- 1.9.2
1717
- ree
1818
matrix:
19-
include:
20-
- rvm: jruby-1.7
21-
env: JRUBY_OPTS='--dev --1.8'
2219
fast_finish: true
2320
branches:
2421
only:

0 commit comments

Comments
 (0)