cache: bundler
language: ruby
rvm:
  - 2.4.2
script: bundle exec rake
sudo: false

before_install:
  - gem update --system --no-doc --no-ri
  - gem install bundler

after_script:
  - bundle exec codeclimate-test-reporter

bundler_args: --without development --with ci

branches:
  - master
  - /^v\d+\.\d+(?:\.\d+)?(?:-\S*)?$/
cache: bundler
language: ruby
rvm:
  - 2.4.2
script: bundle exec rake
sudo: false

before_install:
  - gem update --system --no-doc --no-ri
  - gem install bundler

after_script:
  - bundle exec codeclimate-test-reporter

bundler_args: --without development --with ci

Build only the master branch and tags (and PRs)
Build only the master branch and tags (and PRs)

This is intended to eliminate the duplicate builds when I push a branch
to the origin repository.
