Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 668d6be

Browse files
committed
Test both versions of diff-lcs
1 parent 09eb163 commit 668d6be

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ matrix:
3838
include:
3939
- rvm: jruby-1.7
4040
env: JRUBY_OPTS='--dev --1.8'
41+
- rvm: 2.7.1
42+
env: DIFF_LCS_VERSION="~> 1.3.0"
4143
allow_failures:
4244
- rvm: jruby-head
4345
- rvm: ruby-head

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ else
2020
gem 'rake', '> 12.3.2'
2121
end
2222

23+
if ENV['DIFF_LCS_VERSION']
24+
gem 'diff-lcs', ENV['DIFF_LCS_VERSION']
25+
else
26+
gem 'diff-lcs', '~> 1.4', '>= 1.4.3'
27+
end
28+
2329
gem 'yard', '~> 0.9.24', :require => false
2430

2531
### deps for rdoc.info

0 commit comments

Comments
 (0)