---
sudo: required
language: ruby
bundler_args: "--without development"
dist: trusty
cache: bundler

services:
- docker

rvm: 2.5.1

before_install:
  - gem update --system # see https://github.com/bundler/bundler/issues/5357

env:
 - INSTANCE=ubuntu-1404
 - INSTANCE=ubuntu-1604
 - INSTANCE=ubuntu-1604 CHEF_VERSION=13.10.0
 - INSTANCE=ubuntu-1804
 - INSTANCE=centos-6
 - INSTANCE=centos-7
 - INSTANCE=centos-7 CHEF_VERSION=13.10.0
 - INSTANCE=oracle-6
 - INSTANCE=oracle-7
 - INSTANCE=debian-8
 - INSTANCE=debian-9
 - INSTANCE=fedora-27
 - INSTANCE=fedora-28
 - INSTANCE=opensuse-42
 - INSTANCE=opensuse-42 CHEF_VERSION=13.10.0
 - INSTANCE=amazonlinux-1
 - INSTANCE=amazonlinux-2

script:
  -  bundle exec rake kitchen KITCHEN_LOCAL_YAML=.kitchen.dokken.yml

matrix:
  include:
    - env: UNIT_AND_LINT=1
      script:
        - bundle exec rake lint spec

---
language: ruby
bundler_args: "--without development"
cache: bundler

services:
- docker

rvm: 2.5.1

env:
 - INSTANCE=ubuntu-1404
 - INSTANCE=ubuntu-1604
 - INSTANCE=ubuntu-1604 CHEF_VERSION=13.10.0
 - INSTANCE=ubuntu-1804
 - INSTANCE=centos-6
 - INSTANCE=centos-7
 - INSTANCE=centos-7 CHEF_VERSION=13.10.0
 - INSTANCE=oracle-6
 - INSTANCE=oracle-7
 - INSTANCE=debian-8
 - INSTANCE=debian-9
 - INSTANCE=fedora-27
 - INSTANCE=fedora-28
 - INSTANCE=opensuse-42
 - INSTANCE=opensuse-42 CHEF_VERSION=13.10.0
 - INSTANCE=amazonlinux-1
 - INSTANCE=amazonlinux-2

script:
  -  bundle exec rake kitchen KITCHEN_LOCAL_YAML=.kitchen.dokken.yml

matrix:
  include:
    - env: UNIT_AND_LINT=1
      script:
        - bundle exec rake lint spec

Update the CI settings - this fixes it again
Update the CI settings - this fixes it again

- removal of deprecated Travis settings
- removal of obsolete bug fix

Signed-off-by: Artem Sidorenko <15a0730a27c69f62ab86f2b6c639fca202166c02@posteo.de>
