Commit 479ac9ab04d7f5e183b0061e2898549fb27f4ec1
1 parent
e0f93b22
Exists in
master
and in
10 other branches
Test against multiple Ruby versions on Travis - #1397
Showing
1 changed file
with
13 additions
and
8 deletions
Show diff stats
.travis.yml
1 | 1 | dist: bionic |
2 | 2 | language: ruby |
3 | -rvm: 2.6 | |
4 | 3 | gemfile: |
5 | 4 | - Gemfile |
6 | 5 | services: |
... | ... | @@ -18,20 +17,26 @@ cache: |
18 | 17 | env: |
19 | 18 | - ELASTICSEARCH_VERSION=7.6.1 |
20 | 19 | jdk: openjdk10 |
21 | -matrix: | |
20 | +jobs: | |
22 | 21 | include: |
23 | - - gemfile: Gemfile | |
24 | - - gemfile: test/gemfiles/activerecord52.gemfile | |
22 | + - rvm: 2.7 | |
23 | + gemfile: Gemfile | |
24 | + - rvm: 2.6 | |
25 | + gemfile: test/gemfiles/activerecord52.gemfile | |
25 | 26 | env: ELASTICSEARCH_VERSION=7.0.0 |
26 | - - gemfile: test/gemfiles/activerecord51.gemfile | |
27 | + - rvm: 2.5 | |
28 | + gemfile: test/gemfiles/activerecord51.gemfile | |
27 | 29 | env: ELASTICSEARCH_VERSION=6.8.7 |
28 | - - gemfile: test/gemfiles/activerecord50.gemfile | |
30 | + - rvm: 2.4 | |
31 | + gemfile: test/gemfiles/activerecord50.gemfile | |
29 | 32 | env: ELASTICSEARCH_VERSION=6.0.0 |
30 | - - gemfile: test/gemfiles/mongoid7.gemfile | |
33 | + - rvm: 2.7 | |
34 | + gemfile: test/gemfiles/mongoid7.gemfile | |
31 | 35 | services: |
32 | 36 | - mongodb |
33 | 37 | - redis-server |
34 | - - gemfile: test/gemfiles/mongoid6.gemfile | |
38 | + - rvm: 2.6 | |
39 | + gemfile: test/gemfiles/mongoid6.gemfile | |
35 | 40 | services: |
36 | 41 | - mongodb |
37 | 42 | - redis-server | ... | ... |