Unverified Commit dad1249e authored by Tim Smith's avatar Tim Smith
Browse files

Expand platform testing


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent a286fc64
......@@ -34,27 +34,30 @@ platforms:
driver:
image: centos:5
platform: rhel
run_command: /sbin/init
provision_command:
pid_one_command: /sbin/init
intermediate_instructions:
- /usr/bin/yum install -y initscripts net-tools wget
- name: centos-6
driver:
image: centos:6
platform: rhel
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install tar which initscripts
- name: centos-7
driver:
image: centos:7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum clean all
- RUN yum -y install net-tools lsof
- name: fedora-23
- name: fedora-latest
driver:
image: fedora:23
image: fedora:latest
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN dnf -y install tar yum
......
......@@ -12,8 +12,6 @@ platforms:
run_list: apt::default
- name: debian-8.4
run_list: apt::default
- name: fedora-22
run_list: yum::dnf_yum_compat
- name: fedora-23
run_list: yum::dnf_yum_compat
- name: opensuse-13.2
......
......@@ -5,10 +5,13 @@ dist: trusty
addons:
apt:
sources:
- chef-current-precise
- chef-current-trusty
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
......@@ -17,32 +20,52 @@ services: docker
env:
matrix:
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1204
- INSTANCE=default-centos-7
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
- INSTANCE=default-centos-6
- INSTANCE=input-file-provider-ubuntu-1404
- INSTANCE=default-centos-7
- INSTANCE=default-debian-7
- INSTANCE=default-debian-8
- INSTANCE=default-fedora-latest
- INSTANCE=default-opensuse-132
- INSTANCE=default-opensuse-421
- INSTANCE=input-file-provider-ubuntu-1204
- INSTANCE=input-file-provider-centos-7
- INSTANCE=input-file-provider-ubuntu-1404
- INSTANCE=input-file-provider-ubuntu-1604
- INSTANCE=input-file-provider-centos-6
- INSTANCE=client-ubuntu-1404
- INSTANCE=input-file-provider-centos-7
- INSTANCE=input-file-provider-debian-7
- INSTANCE=input-file-provider-debian-8
- INSTANCE=input-file-provider-fedora-latest
- INSTANCE=input-file-provider-opensuse-132
- INSTANCE=input-file-provider-opensuse-421
- INSTANCE=client-ubuntu-1204
- INSTANCE=client-centos-7
- INSTANCE=client-ubuntu-1404
- INSTANCE=client-ubuntu-1604
- INSTANCE=client-centos-6
- INSTANCE=server-ubuntu-1404
- INSTANCE=client-centos-7
- INSTANCE=client-debian-7
- INSTANCE=client-debian-8
- INSTANCE=client-fedora-latest
- INSTANCE=client-opensuse-132
- INSTANCE=client-opensuse-421
- INSTANCE=server-ubuntu-1204
- INSTANCE=server-centos-7
- INSTANCE=server-ubuntu-1404
- INSTANCE=server-ubuntu-1604
- INSTANCE=server-centos-6
- INSTANCE=server-centos-7
- INSTANCE=server-debian-7
- INSTANCE=server-debian-8
- INSTANCE=server-fedora-latest
- INSTANCE=server-opensuse-132
- INSTANCE=server-opensuse-421
# Don't `bundle install`
install: echo "skip bundle install"
fast_finish: true
# Ensure we make ChefDK's Ruby the default
before_script:
# https://github.com/zuazo/kitchen-in-travis-native/issues/1#issuecomment-142230889
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- /opt/chefdk/embedded/bin/chef gem install kitchen-dokken
script:
- /opt/chefdk/embedded/bin/chef --version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment