diff options
author | Jared Quick <jquick@chef.io> | 2018-03-26 20:57:17 -0400 |
---|---|---|
committer | Jared Quick <jquick@chef.io> | 2018-03-26 21:01:57 -0400 |
commit | 07a2873d37ea90bb6aa0b6c99f5d522e4ee4748d (patch) | |
tree | f2f8163c364e199a91c525ba6bee5b8d13974aa2 | |
parent | 1065395824680c979c81761f8bfaae301e189946 (diff) | |
download | chef-tm/inspec_2.tar.gz |
Refactor travis config.tm/inspec_2
Signed-off-by: Jared Quick <jquick@chef.io>
-rw-r--r-- | kitchen-tests/.kitchen.travis.yml | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/kitchen-tests/.kitchen.travis.yml b/kitchen-tests/.kitchen.travis.yml index 24b4712549..7f1cc94667 100644 --- a/kitchen-tests/.kitchen.travis.yml +++ b/kitchen-tests/.kitchen.travis.yml @@ -34,8 +34,8 @@ platforms: image: dokken/amazonlinux pid_one_command: /sbin/init intermediate_instructions: - - RUN yum -y install sudo - - RUN yum -y install gcc-c++ + # TODO: inspec 2.0 requires gcc-c++, adding here until it can be added to appbundler-updater + - RUN yum -y install sudo gcc-c++ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - name: amazonlinux-2 @@ -43,11 +43,9 @@ platforms: image: dokken/amazonlinux-2 pid_one_command: /usr/lib/systemd/systemd intermediate_instructions: - - RUN yum -y install sudo - - RUN yum -y install gcc-c++ + - RUN yum -y install sudo gcc-c++ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - - name: debian-8 driver: image: dokken/debian-8 @@ -69,8 +67,7 @@ platforms: image: dokken/centos-6 pid_one_command: /sbin/init intermediate_instructions: - - RUN yum -y install sudo - - RUN yum -y install gcc-c++ + - RUN yum -y install sudo gcc-c++ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - name: centos-7 @@ -78,8 +75,7 @@ platforms: image: dokken/centos-7 pid_one_command: /usr/lib/systemd/systemd intermediate_instructions: - - RUN yum -y install sudo - - RUN yum -y install gcc-c++ + - RUN yum -y install sudo gcc-c++ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - name: fedora-latest @@ -87,8 +83,7 @@ platforms: image: dokken/fedora-latest pid_one_command: /usr/lib/systemd/systemd intermediate_instructions: - - RUN dnf -y install sudo - - RUN yum -y install gcc-c++ + - RUN dnf -y install sudo gcc-c++ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers - name: ubuntu-14.04 @@ -120,9 +115,7 @@ platforms: image: dokken/opensuse-leap pid_one_command: /bin/systemd intermediate_instructions: - - RUN /usr/bin/zypper install -y sudo - - RUN /usr/bin/zypper install -y gcc-c++ - + - RUN /usr/bin/zypper install -y sudo gcc-c++ suites: - name: base |