Sha256: 1c553c45f0c80220d594201993872284ebaffada8b8d05410fb462a7ae43a7c5

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

services:
  - mongodb

language: ruby

cache: bundler

before_install:
  - gem update --system
  - gem install bundler

matrix:
  include:
    - rvm: 2.3.8
      env: MONGOID_VERSION=4
    - rvm: 2.3.8
      env: MONGOID_VERSION=5
    - rvm: 2.3.8
      env: MONGOID_VERSION=6
    - rvm: 2.4.5
      env: MONGOID_VERSION=6
    - rvm: 2.4.5
      env: MONGOID_VERSION=7
    - rvm: 2.5.3
      env: MONGOID_VERSION=7
      before_script: bundle exec danger
    - rvm: jruby-9.1.17.0
      env: MONGOID_VERSION=4
    - rvm: jruby-9.1.17.0
      env: MONGOID_VERSION=5
    - rvm: jruby-9.1.17.0
      env: MONGOID_VERSION=6
    - rvm: jruby-9.2.4.0
      env: MONGOID_VERSION=6
    - rvm: jruby-9.2.4.0
      env: MONGOID_VERSION=7
    - name: Code Climate Test Coverage
      rvm: 2.3.8
      env: COVERAGE=true
      script:
        - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
        - chmod +x ./cc-test-reporter
        - ./cc-test-reporter before-build
        - for version in 4 5 6 7; do
            MONGOID_VERSION=$version bundle update;
            bundle exec rake;
            ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.mongoid${version}.json;
          done
        - if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then
            ./cc-test-reporter sum-coverage coverage/codeclimate.mongoid*.json -p 4;
            ./cc-test-reporter upload-coverage;
          fi
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-9.1.17.0
    - rvm: jruby-9.2.4.0
    - rvm: jruby-head

bundler_args: --without development

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-locker-1.0.1 .travis.yml