Skip to content

Commit e5695fa

Browse files
committed
[CI] Expand unit test matrix and only test integration on latest stable Rails, latest stable Ruby
1 parent 85940ef commit e5695fa

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,27 @@ branches:
2121

2222
matrix:
2323
include:
24-
- rvm: 2.2.10
24+
- rvm: 2.2
2525
jdk: oraclejdk8
2626
env: TEST_SUITE=unit
2727

28-
- rvm: 2.3.7
28+
- rvm: 2.3
2929
jdk: oraclejdk8
3030
env: TEST_SUITE=unit
3131

32-
- rvm: 2.5.1
32+
- rvm: 2.4
3333
jdk: oraclejdk8
3434
env: TEST_SUITE=unit
3535

36-
- rvm: 2.5.1
36+
- rvm: 2.5
37+
jdk: oraclejdk8
38+
env: TEST_SUITE=unit
39+
40+
- rvm: jruby-9.1
41+
jdk: oraclejdk8
42+
env: TEST_SUITE=unit
43+
44+
- rvm: 2.5
3745
jdk: oraclejdk8
3846
env: TEST_SUITE=integration QUIET=y
3947

elasticsearch-model/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ namespace :test do
3838
sh "BUNDLE_GEMFILE='#{File.expand_path('../gemfiles/5.0.gemfile', __FILE__)}' bundle exec rake test:run_unit"
3939
end
4040

41-
desc "Run integration tests against ActiveModel 3, 4 and 5"
41+
desc "Run integration tests against latest stable ActiveModel (5)"
4242
task :integration do
4343
#sh "BUNDLE_GEMFILE='#{File.expand_path('../gemfiles/3.0.gemfile', __FILE__)}' bundle exec rake test:run_integration"
44-
sh "BUNDLE_GEMFILE='#{File.expand_path('../gemfiles/4.0.gemfile', __FILE__)}' bundle exec rake test:run_integration"
44+
#sh "BUNDLE_GEMFILE='#{File.expand_path('../gemfiles/4.0.gemfile', __FILE__)}' bundle exec rake test:run_integration"
4545
sh "BUNDLE_GEMFILE='#{File.expand_path('../gemfiles/5.0.gemfile', __FILE__)}' bundle exec rake test:run_integration"
4646
end
4747

0 commit comments

Comments
 (0)