Skip to content

Commit f8329c9

Browse files
committed
Diff-LCS builds
1 parent ebc5d6f commit f8329c9

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

ci/.github/workflows/ci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- '*'
1111
jobs:
1212
test:
13-
name: Ruby ${{ matrix.ruby }}
13+
name: Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
@@ -24,6 +24,18 @@ 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: 2.7
32+
name_extra: "with diff-lcs 1.3"
33+
env:
34+
DIFF_LCS_VERSION: "~> 1.3.0"
35+
- ruby: 2.7
36+
name_extra: "with diff-lcs 1.4.3"
37+
env:
38+
DIFF_LCS_VERSION: "1.4.3"
2739
fail-fast: false
2840
continue-on-error: ${{ matrix.ruby == 'jruby-9.2.13.0' || endsWith(matrix.ruby, 'head') }}
2941
steps:
@@ -34,9 +46,13 @@ jobs:
3446
ruby-version: ${{ matrix.ruby }}
3547
bundler-cache: true
3648
- run: script/update_rubygems_and_install_bundler
49+
env: ${{ matrix.env }}
3750
- run: script/clone_all_rspec_repos
51+
env: ${{ matrix.env }}
3852
- run: bundle install --binstubs --standalone
53+
env: ${{ matrix.env }}
3954
- run: script/run_build
55+
env: ${{ matrix.env }}
4056

4157
windows:
4258
name: Ruby ${{ matrix.ruby }} (Windows)

ci/.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ matrix:
2727
include:
2828
- rvm: jruby-1.7
2929
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"
3430
allow_failures:
3531
- rvm: jruby-head
3632
- rvm: ruby-head

0 commit comments

Comments
 (0)