---
sudo: required
language: ruby
cache: bundler

# necessary for docker to work
dist: xenial
services:
  - docker

bundler_args: --without integration tools

branches:
  only:
  - master

matrix:
  include:
  - rvm: 2.3.8
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.4.5
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.5.3
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-debian.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-centos.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-oel.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-fedora.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-ubuntu.yml"

---
sudo: required
language: ruby
cache: bundler

# necessary for docker to work
dist: xenial
services:
  - docker

bundler_args: --without integration tools

branches:
  only:
  - master
  - 2-release

matrix:
  include:
  - rvm: 2.3.8
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.4.5
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.5.3
    before_install:
      - gem install bundler
      - gem --version
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-debian.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-centos.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-oel.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-fedora.yml"
  - rvm: 2.6
    script: bundle exec rake $SUITE
    env: SUITE="test:docker config=test-travis-ubuntu.yml"

Add v2 release to TravisCI temporarily
Add v2 release to TravisCI temporarily

Signed-off-by: Clinton Wolfe <472bf9e3c4d623f1ea9ea20ba8a695844f3dbd03@gmail.com>
