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

Commit b494579

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

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ rvm:
3333
- jruby-head
3434
- jruby-1.7
3535
env:
36-
- JRUBY_OPTS='--dev'
36+
- JRUBY_OPTS='--dev' DIFF_LCS_VERSION="~> 1.4"
3737
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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ else
2121
gem 'rake', '>= 12.3.3'
2222
end
2323

24+
gem 'diff-lcs', ENV.fetch('DIFF_LCS_VERSION', '~> 1.4')
25+
2426
if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
2527
gem "childprocess", "< 1.0.0"
2628
elsif RUBY_VERSION < '2.3.0'

0 commit comments

Comments
 (0)