.travis.yml 1.81 KB
Newer Older
1 2 3
addons:
  apt:
    sources:
4
      - chef-current-xenial
5
    packages:
6
      - chef-workstation
7

Tim Smith's avatar
Tim Smith committed
8 9
install: echo "skip bundle install"

10 11 12
env:
  - CHEF_LICENSE=accept

Jennifer Davis's avatar
Jennifer Davis committed
13 14
branches:
  only:
Tim Smith's avatar
Tim Smith committed
15
    - master
Jennifer Davis's avatar
Jennifer Davis committed
16

17 18 19 20
services: docker

env:
  matrix:
Tim Smith's avatar
Tim Smith committed
21
  - INSTANCE=default-ubuntu-1604
22
  - INSTANCE=default-ubuntu-1804
Tim Smith's avatar
Tim Smith committed
23
  - INSTANCE=default-centos-6
Tim Smith's avatar
Tim Smith committed
24
  - INSTANCE=default-centos-7
25 26 27
  - INSTANCE=default-centos-8
  - INSTANCE=default-debian-9
  - INSTANCE=default-debian-10
Tim Smith's avatar
Tim Smith committed
28
  - INSTANCE=default-fedora-latest
29
  - INSTANCE=default-opensuse-leap-15
30
  - INSTANCE=input-file-resource-ubuntu-1604
31
  - INSTANCE=input-file-resource-ubuntu-1804
32 33
  - INSTANCE=input-file-resource-centos-6
  - INSTANCE=input-file-resource-centos-7
34 35 36
  - INSTANCE=input-file-resource-centos-8
  - INSTANCE=input-file-resource-debian-9
  - INSTANCE=input-file-resource-debian-10
37
  - INSTANCE=input-file-resource-fedora-latest
38
  - INSTANCE=input-file-resource-opensuse-leap-15
Tim Smith's avatar
Tim Smith committed
39
  - INSTANCE=client-ubuntu-1604
40
  - INSTANCE=client-ubuntu-1804
Tim Smith's avatar
Tim Smith committed
41
  - INSTANCE=client-centos-6
Tim Smith's avatar
Tim Smith committed
42
  - INSTANCE=client-centos-7
43 44 45
  - INSTANCE=client-centos-8
  - INSTANCE=client-debian-9
  - INSTANCE=client-debian-10
Tim Smith's avatar
Tim Smith committed
46
  - INSTANCE=client-fedora-latest
47
  - INSTANCE=client-opensuse-leap-15
Tim Smith's avatar
Tim Smith committed
48
  - INSTANCE=server-ubuntu-1604
49
  - INSTANCE=server-ubuntu-1804
Tim Smith's avatar
Tim Smith committed
50
  - INSTANCE=server-centos-6
Tim Smith's avatar
Tim Smith committed
51
  - INSTANCE=server-centos-7
52 53 54
  - INSTANCE=server-centos-8  
  - INSTANCE=server-debian-9
  - INSTANCE=server-debian-10
Tim Smith's avatar
Tim Smith committed
55
  - INSTANCE=server-fedora-latest
56
  - INSTANCE=server-opensuse-leap-15
57

58
before_script:
59
  - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
60 61
  - eval "$(chef shell-init bash)"
  - chef --version
Jennifer Davis's avatar
Jennifer Davis committed
62

Tim Smith's avatar
Tim Smith committed
63
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
Tim Smith's avatar
Tim Smith committed
64 65 66 67

matrix:
  include:
    - script:
68
      - chef exec delivery local all
Tim Smith's avatar
Tim Smith committed
69
      env:
Tim Smith's avatar
Tim Smith committed
70 71
        - UNIT_AND_LINT=1
        - CHEF_FIPS=''