Sha256: a4fc59cdd9fc881eac9870650f73b43d6f481097468c59d2e58236b2ce1d4323

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

os: linux
language: ruby
rvm:
  - 2.3.8
  - 2.4.9
  - 2.5.7
  - 2.6.5
  - 2.7.0
  - ruby-head
notifications:
  email: false

gemfile:
  - gemfiles/sidekiq_3.3.1.gemfile
  - gemfiles/sidekiq_3.x.gemfile
  - gemfiles/sidekiq_4.x.gemfile
  - gemfiles/sidekiq_5.x.gemfile
  - gemfiles/sidekiq_6.x.gemfile
  - gemfiles/sidekiq_head.gemfile

jobs:
  include:
    - rvm: "2.6.5"
      gemfile: "gemfiles/sidekiq_5.x.gemfile"
      env:
        - CODECLIMATE_REPORT=true
  exclude:
    - rvm: "2.3.8"
      gemfile: "gemfiles/sidekiq_6.x.gemfile"
    - rvm: "2.4.9"
      gemfile: "gemfiles/sidekiq_6.x.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/sidekiq_head.gemfile"
    - rvm: "2.4.9"
      gemfile: "gemfiles/sidekiq_head.gemfile"
    - rvm: "2.5.7"
      gemfile: "gemfiles/sidekiq_head.gemfile"
    - rvm: "2.6.5"
      gemfile: "gemfiles/sidekiq_head.gemfile"
    - rvm: "2.7.0"
      gemfile: "gemfiles/sidekiq_head.gemfile"
  allow_failures:
    - rvm: "ruby-head"
      gemfile: "gemfiles/sidekiq_head.gemfile"

cache:
  directories:
    - ./vendor

env:
  global:
    - CC_TEST_REPORTER_ID=$CODECLIMATE_REPO_TOKEN

before_install:
  - gem install bundler -v '~> 2.1'

before_script:
  - if [ ! -f ./vendor/cc-test-reporter ]; then
    curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./vendor/cc-test-reporter;
    chmod +x ./vendor/cc-test-reporter;
    fi
  - if [ ! -z "$CODECLIMATE_REPORT" ]; then
    echo "Start recording Codeclimate test coverage";
    ./vendor/cc-test-reporter before-build;
    fi
script:
  - bundle exec rake spec
after_success:
  - if [ ! -z "$CODECLIMATE_REPORT" ]; then
    echo "Finish recording Codeclimate test coverage";
    ./vendor/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
    fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-prometheus-exporter-0.1.13 .travis.yml