matic-insurance/redis-claim

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
---
sudo: false
language: ruby
cache: bundler
services:
  - redis-server

rvm:
  - 2.5.1

before_install:
  - gem update --system
  - gem install bundler
  - 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

install:
  - bin/setup

script:
  - COVERAGE=true bundle exec rspec
  - gem build redis-claim

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

deploy:
  provider: rubygems
  api_key: "$RUBY_GEMS_API_KEY"
  on:
    tags: true