.travis.yml 1.78 KB
Newer Older
1

2
3
4
addons:
  apt:
    sources:
Tim Smith's avatar
Tim Smith committed
5
      - chef-current-xenial
6
    packages:
7
      - chef-workstation
8

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

11
12
13
env:
  - CHEF_LICENSE=accept

Tim Smith's avatar
Tim Smith committed
14
15
16
17
branches:
  only:
    - master

18
19
20
21
services: docker

env:
  matrix:
22
23
24
  - CHEF_VERSION=14 INSTANCE=default-ubuntu-1604
  - CHEF_VERSION=14 INSTANCE=default-ubuntu-1804
  - CHEF_VERSION=14 INSTANCE=default-debian-9
25
  - CHEF_VERSION=14 INSTANCE=default-debian-10
26
27
28
29
30
31
  - CHEF_VERSION=14 INSTANCE=default-centos-6
  - CHEF_VERSION=14 INSTANCE=default-centos-7
  - CHEF_VERSION=14 INSTANCE=default-fedora-latest
  - CHEF_VERSION=14 INSTANCE=source-ubuntu-1604
  - CHEF_VERSION=14 INSTANCE=source-ubuntu-1804
  - CHEF_VERSION=14 INSTANCE=source-debian-9
32
  - CHEF_VERSION=14 INSTANCE=source-debian-10
33
34
  - CHEF_VERSION=14 INSTANCE=source-fedora-latest
  - CHEF_VERSION=14 INSTANCE=source-centos-7
35
36
37
  - CHEF_VERSION INSTANCE=default-ubuntu-1604
  - CHEF_VERSION INSTANCE=default-ubuntu-1804
  - CHEF_VERSION INSTANCE=default-debian-9
38
  - CHEF_VERSION INSTANCE=default-debian-10
39
40
41
42
43
44
45
46
47
  - CHEF_VERSION INSTANCE=default-centos-6
  - CHEF_VERSION INSTANCE=default-centos-7
  - CHEF_VERSION INSTANCE=default-fedora-latest
  - CHEF_VERSION INSTANCE=source-ubuntu-1604
  - CHEF_VERSION INSTANCE=source-ubuntu-1804
  - CHEF_VERSION INSTANCE=source-debian-9
  - CHEF_VERSION INSTANCE=source-debian-10
  - CHEF_VERSION INSTANCE=source-fedora-latest
  - CHEF_VERSION INSTANCE=source-centos-7
48

49
before_script:
50
  - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
51
52
  - eval "$(chef shell-init bash)"
  - chef --version
Tim Smith's avatar
Tim Smith committed
53

54
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml CHEF_VERSION=${CHEF_VERSION} kitchen verify ${INSTANCE}
Tim Smith's avatar
Tim Smith committed
55
56
57
58

matrix:
  include:
    - script:
Tim Smith's avatar
Tim Smith committed
59
      - delivery local all
60
61
62
      env:
        - UNIT_AND_LINT=1
        - CHEF_LICENSE=accept