forked from dev-sec/chef-os-hardening
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (50 loc) · 2.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
sudo: required
language: ruby
bundler_args: "--without development"
dist: trusty
cache: bundler
services:
- docker
rvm: 2.4.4
before_install:
- gem update --system # see https://github.com/bundler/bundler/issues/5357
env:
- INSTANCE=ubuntu-14-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=centos-6 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=debian-7 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=debian-8 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=fedora-26 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=fedora-27 KITCHEN_LOCAL_YAML=.kitchen.do.yml
- INSTANCE=ubuntu-14-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=oracle-6 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=oracle-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=debian-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=debian-8 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=fedora-26 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=fedora-27 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=opensuse-42 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=amazonlinux-1 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- INSTANCE=amazonlinux-2 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
script:
- bundle exec rake kitchen
matrix:
allow_failures: # temporaray disable failing tests until all problems are fixed
- env: INSTANCE=ubuntu-16-04 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=ubuntu-16-04 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=centos-7 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=centos-7 CHEF_VERSION=12.14.60 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
- env: INSTANCE=opensuse-42 KITCHEN_LOCAL_YAML=.kitchen.dokken.yml
include:
- env: UNIT_AND_LINT=1
script:
- bundle exec rake lint spec