Skip to content

Commit

Permalink
Use chef 14 when testing inspec 3 or 4
Browse files Browse the repository at this point in the history
Signed-off-by: Clinton Wolfe <[email protected]>
  • Loading branch information
clintoncwolfe authored and alexpop committed Mar 2, 2020
1 parent 540b25e commit 1705940
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1705940

Please sign in to comment.