|
11 | 11 | - 2.4.7
|
12 | 12 | - 2.5.6
|
13 | 13 | - 2.6.4
|
| 14 | + - 2.7.0 |
14 | 15 |
|
15 | 16 | gemfile:
|
16 | 17 | - gemfiles/rails_4_2.gemfile
|
17 | 18 | - gemfiles/rails_5_0.gemfile
|
18 | 19 | - gemfiles/rails_5_1.gemfile
|
19 | 20 | - gemfiles/rails_5_2.gemfile
|
| 21 | + - gemfiles/rails_6_0.gemfile |
20 | 22 |
|
21 | 23 | env:
|
22 | 24 | global:
|
|
28 | 30 |
|
29 | 31 | matrix:
|
30 | 32 | include:
|
31 |
| - - rvm: 2.3.8 |
32 |
| - gemfile: gemfiles/rails_4_2_mongoid_5.gemfile |
33 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
34 |
| - - rvm: 2.3.8 |
35 |
| - gemfile: gemfiles/rails_5_1_mongoid_6.gemfile |
36 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
37 |
| - - rvm: 2.4.7 |
38 |
| - gemfile: gemfiles/rails_5_1_mongoid_7.gemfile |
39 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
40 |
| - - rvm: 2.5.6 |
41 |
| - gemfile: gemfiles/rails_5_2_mongoid_6.gemfile |
42 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
43 |
| - - rvm: 2.5.6 |
44 |
| - gemfile: gemfiles/rails_5_2_mongoid_7.gemfile |
45 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
46 |
| - - rvm: 2.6.4 |
47 |
| - gemfile: gemfiles/rails_5_2_mongoid_7.gemfile |
48 |
| - env: DEVISE_TOKEN_AUTH_ORM=mongoid |
49 |
| - - name: Code Climate Test Coverage |
50 |
| - rmv: 2.5.6 |
51 |
| - env: |
52 |
| - - CC_TEST_REPORTER_ID=44d7688de8e1b567b4af25ec5083c2cc0a355ab911192a7cbefd1ea25b2ffd3d |
53 |
| - - GEMFILE_AR=gemfiles/rails_5_1.gemfile |
54 |
| - - GEMFILE_MONGOID=gemfiles/rails_5_1_mongoid_7.gemfile |
55 |
| - script: |
56 |
| - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter |
57 |
| - - chmod +x ./cc-test-reporter |
58 |
| - - ./cc-test-reporter before-build |
59 |
| - # with ActiveRecord |
60 |
| - - bundle install --jobs=3 --retry=3 --gemfile $GEMFILE_AR |
61 |
| - - BUNDLE_GEMFILE=$GEMFILE_AR bundle exec rake --trace db:migrate |
62 |
| - - BUNDLE_GEMFILE=$GEMFILE_AR bundle exec rake |
63 |
| - - ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.active_record.json coverage/.resultset.json |
64 |
| - # with Mongoid |
65 |
| - - bundle install --jobs=3 --retry=3 --gemfile $GEMFILE_MONGOID |
66 |
| - - BUNDLE_GEMFILE=$GEMFILE_MONGOID DEVISE_TOKEN_AUTH_ORM=mongoid bundle exec rake |
67 |
| - - ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.mongoid.json coverage/.resultset.json |
68 |
| - # merge test results |
69 |
| - - if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then |
| 33 | + - rvm: 2.3.8 |
| 34 | + gemfile: gemfiles/rails_4_2_mongoid_5.gemfile |
| 35 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 36 | + - rvm: 2.3.8 |
| 37 | + gemfile: gemfiles/rails_5_1_mongoid_6.gemfile |
| 38 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 39 | + - rvm: 2.4.7 |
| 40 | + gemfile: gemfiles/rails_5_1_mongoid_7.gemfile |
| 41 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 42 | + - rvm: 2.5.6 |
| 43 | + gemfile: gemfiles/rails_5_2_mongoid_6.gemfile |
| 44 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 45 | + - rvm: 2.5.6 |
| 46 | + gemfile: gemfiles/rails_5_2_mongoid_7.gemfile |
| 47 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 48 | + - rvm: 2.6.4 |
| 49 | + gemfile: gemfiles/rails_5_2_mongoid_7.gemfile |
| 50 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 51 | + - rvm: 2.7.0 |
| 52 | + gemfile: gemfiles/rails_6_0_mongoid_7.gemfile |
| 53 | + env: DEVISE_TOKEN_AUTH_ORM=mongoid |
| 54 | + - name: Code Climate Test Coverage |
| 55 | + rvm: 2.5.6 |
| 56 | + env: |
| 57 | + - CC_TEST_REPORTER_ID=44d7688de8e1b567b4af25ec5083c2cc0a355ab911192a7cbefd1ea25b2ffd3d |
| 58 | + - GEMFILE_AR=gemfiles/rails_5_1.gemfile |
| 59 | + - GEMFILE_MONGOID=gemfiles/rails_5_1_mongoid_7.gemfile |
| 60 | + script: |
| 61 | + - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter |
| 62 | + - chmod +x ./cc-test-reporter |
| 63 | + - ./cc-test-reporter before-build |
| 64 | + # with ActiveRecord |
| 65 | + - bundle install --jobs=3 --retry=3 --gemfile $GEMFILE_AR |
| 66 | + - BUNDLE_GEMFILE=$GEMFILE_AR bundle exec rake --trace db:migrate |
| 67 | + - BUNDLE_GEMFILE=$GEMFILE_AR bundle exec rake |
| 68 | + - ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.active_record.json coverage/.resultset.json |
| 69 | + # with Mongoid |
| 70 | + - bundle install --jobs=3 --retry=3 --gemfile $GEMFILE_MONGOID |
| 71 | + - BUNDLE_GEMFILE=$GEMFILE_MONGOID DEVISE_TOKEN_AUTH_ORM=mongoid bundle exec rake |
| 72 | + - ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.mongoid.json coverage/.resultset.json |
| 73 | + # merge test results |
| 74 | + - if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then |
70 | 75 | ./cc-test-reporter sum-coverage coverage/codeclimate.active_record.json coverage/codeclimate.mongoid.json;
|
71 | 76 | ./cc-test-reporter upload-coverage;
|
72 |
| - fi |
| 77 | + fi |
73 | 78 | exclude:
|
74 | 79 | - rvm: 2.6.4
|
75 | 80 | gemfile: gemfiles/rails_4_2.gemfile
|
| 81 | + - rvm: 2.7.0 |
| 82 | + gemfile: gemfiles/rails_4_2.gemfile |
| 83 | + - rvm: 2.3.8 |
| 84 | + gemfile: gemfiles/rails_6_0.gemfile |
| 85 | + - rvm: 2.4.7 |
| 86 | + gemfile: gemfiles/rails_6_0.gemfile |
76 | 87 | fast_finish: true
|
77 | 88 |
|
78 | 89 | before_install:
|
|
0 commit comments