Skip to content

Commit 62b74ff

Browse files
authored
Merge pull request #260 from rspec/more-builds
Build updates for JRuby etc
2 parents d27313d + cf46155 commit 62b74ff

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

ci/.github/workflows/ci.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
- '*'
1111
jobs:
1212
test:
13-
name: Ruby ${{ matrix.ruby }}
14-
runs-on: ubuntu-20.04
13+
name: Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
14+
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
1515
strategy:
1616
matrix:
1717
ruby:
@@ -24,15 +24,35 @@ jobs:
2424
- 2.2
2525
- 2.1.9
2626
- ruby-head
27+
env:
28+
-
29+
DIFF_LCS_VERSION: "> 1.4.3"
30+
include:
31+
- ruby: jruby-9.2.13.0
32+
env:
33+
JRUBY_OPTS: "--dev"
34+
- ruby: jruby-9.1.17.0
35+
bundler: 1
36+
os: ubuntu-18.04
37+
env:
38+
JRUBY_OPTS: "--dev"
39+
- ruby: 2.7
40+
name_extra: "with diff-lcs 1.3"
41+
env:
42+
DIFF_LCS_VERSION: "~> 1.3.0"
43+
- ruby: 2.7
44+
name_extra: "with diff-lcs 1.4.3"
45+
env:
46+
DIFF_LCS_VERSION: "1.4.3"
2747
fail-fast: false
28-
continue-on-error: ${{ matrix.ruby == 'jruby-9.2.13.0' || endsWith(matrix.ruby, 'head') }}
48+
continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
49+
env: ${{ matrix.env }}
2950
steps:
3051
- uses: actions/checkout@v2
3152
- uses: ruby/setup-ruby@v1
3253
with:
33-
bundler: ${{ (matrix.ruby == 'jruby-9.1.17.0' && 1) || 2 }}
54+
bundler: ${{ matrix.bundler || 2 }}
3455
ruby-version: ${{ matrix.ruby }}
35-
bundler-cache: true
3656
- run: script/update_rubygems_and_install_bundler
3757
- run: script/clone_all_rspec_repos
3858
- run: bundle install --binstubs --standalone

ci/.travis.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,13 @@ rvm:
1717
- 1.9.3
1818
- 2.0.0
1919
- ree
20-
- rbx-3
21-
- jruby-9.1.7.0 # pin JRuby to this until travis/rvm can install later versions
22-
- jruby-head
2320
- jruby-1.7
2421
env:
2522
- JRUBY_OPTS='--dev'
2623
matrix:
2724
include:
2825
- rvm: jruby-1.7
2926
env: JRUBY_OPTS='--dev --1.8'
30-
- rvm: 2.7.1
31-
env: DIFF_LCS_VERSION="~> 1.3.0"
32-
- rvm: 2.7.1
33-
env: DIFF_LCS_VERSION="1.4.3"
34-
allow_failures:
35-
- rvm: jruby-head
36-
- rvm: ruby-head
37-
- rvm: rbx-3
3827
fast_finish: true
3928
branches:
4029
only:

0 commit comments

Comments
 (0)