# This file was generated on 2019-12-18T14:01:39+00:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

version: "{build}"

# This will build all PRs targeting matching branches.
# Without this, each PR builds twice -- once for the PR branch HEAD,
# and once for the merge commit that github creates for each mergeable PR.
branches:
  only:
    - main
    - /.*-maintenance$/

# Disable normal Windows builds in favor of our test script.
build: off

cache:
  - vendor/bundle

install:
  - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
  - bundle config --local path vendor/bundle
  - bundle install
  - cinst ansicon

before_test:
  - ruby --version
  - gem --version
  - bundle --version

test_script:
  - bundle exec rspec --backtrace

environment:
  matrix:
    - ruby_version: 23-x64
    - ruby_version: 24-x64
    - ruby_version: 25-x64
    - ruby_version: 26-x64
    - ruby_version: 27-x64
