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

Commit 548624d

Browse files
committed
Allow checking both versions of diff-lcs
1 parent 357cc8b commit 548624d

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
@@ -21,6 +21,12 @@ else
2121
gem 'rake', '>= 12.3.3'
2222
end
2323

24+
if ENV['DIFF_LCS_VERSION']
25+
gem 'diff-lcs', ENV['DIFF_LCS_VERSION']
26+
else
27+
gem 'diff-lcs', '~> 1.4', '>= 1.4.3'
28+
end
29+
2430
if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
2531
gem "childprocess", "< 1.0.0"
2632
elsif RUBY_VERSION < '2.3.0'

0 commit comments

Comments
 (0)