From 170594023f0e32782943ab94c955bc6ea9c7886f Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Mon, 16 Dec 2019 19:01:48 -0500 Subject: [PATCH] Use chef 14 when testing inspec 3 or 4 Signed-off-by: Clinton Wolfe --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 521b6eaa..d299afd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,22 +53,22 @@ matrix: env: SUITE=test:integration OS='missing-profile-fail-ubuntu-1804' - rvm: 2.6.3 script: rake $SUITE - env: SUITE=test:integration OS='chef15-compatible-inspec-ubuntu-1804' CHEF_LICENSE="accept-no-persist" - - rvm: 2.6.3 - script: rake $SUITE - env: SUITE=test:integration OS='gem-install-core-version4-centos-7' + env: SUITE=test:integration OS='chef15-compatible-inspec-ubuntu-1804' + + # Next 4 suites test running inspec 3 or 4 on audit cookbook. This is only permitted on chef 14 or older. - rvm: 2.6.3 script: rake $SUITE - env: SUITE=test:integration OS='gem-install-core-version3-centos-7' + env: SUITE=test:integration OS='gem-install-core-version4-centos-7' CHEF_VERSION=14 - rvm: 2.6.3 script: rake $SUITE - env: SUITE=test:integration OS='gem-install-core-version4-ubuntu-1804' + env: SUITE=test:integration OS='gem-install-core-version3-centos-7' CHEF_VERSION=14 - rvm: 2.6.3 script: rake $SUITE - env: SUITE=test:integration OS='gem-install-core-version3-ubuntu-1804' + env: SUITE=test:integration OS='gem-install-core-version4-ubuntu-1804' CHEF_VERSION=14 - rvm: 2.6.3 script: rake $SUITE - env: SUITE=test:integration OS='gem-install-core-version2-ubuntu-1804' + env: SUITE=test:integration OS='gem-install-core-version3-ubuntu-1804' CHEF_VERSION=14 + - rvm: 2.6.3 script: rake $SUITE env: SUITE=test:integration OS='inspec-attributes-ubuntu-1804'