---

before_install:
  - "gem install bundler -v 2.1.4"
before_script:
  - "bundle exec license_finder licenses add bundler MIT"
branches:
  only:
    - "master"
    - '/^v\d+\.\d+\.\d+/'
cache:
  bundler: true
dist: "bionic"
jobs:
  allow_failures:
    - gemfile: "gemfiles/faraday_canary.gemfile"

  fail_fast: true

  include:
    - stage: "Test"

    - stage: "Latest Faraday Release"
      gemfile: "gemfiles/faraday_latest.gemfile"

    - gemfile: "gemfiles/faraday_0.8.gemfile"
      stage: "Additional Faraday Tests"
    - gemfile: "gemfiles/faraday_0.x.gemfile"
    - gemfile: "gemfiles/faraday_1.x.gemfile"
    - gemfile: "gemfiles/faraday_canary.gemfile"
language: "ruby"
notifications:
  email: false
script:
  - "bundle exec rake"
  - "bundle exec rubocop -fq"
  - "bundle exec license_finder --quiet"

---

before_install:
  - "gem install bundler -v 2.1.4"
before_script:
  - "bundle exec license_finder licenses add bundler MIT"
branches:
  only:
    - "master"
    - '/^v\d+\.\d+\.\d+/'
cache:
  bundler: true
dist: "bionic"
jobs:
  allow_failures:
    - gemfile: "gemfiles/faraday_canary.gemfile"

  fast_finish: true

  include:
    - stage: "Test"

    - stage: "Latest Faraday Release"
      gemfile: "gemfiles/faraday_latest.gemfile"

    - gemfile: "gemfiles/faraday_0.8.gemfile"
      stage: "Additional Faraday Tests"
    - gemfile: "gemfiles/faraday_0.x.gemfile"
    - gemfile: "gemfiles/faraday_1.x.gemfile"
    - gemfile: "gemfiles/faraday_canary.gemfile"
language: "ruby"
notifications:
  email: false
os: "linux"
script:
  - "bundle exec rake"
  - "bundle exec rubocop -fq"
  - "bundle exec license_finder --quiet"

Fix Travis CI configuration validation warnings
Fix Travis CI configuration validation warnings
