summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-17 20:09:45 -0700
committerTim Smith <tsmith@chef.io>2018-03-19 15:27:43 -0700
commit00d33cac95db5ca34caf7dcdb105f392fa57a858 (patch)
treef7a58889fb9f41e0082b38fe6774caf1a49ea0e0 /.travis.yml
parent29465a9e25006611fce53eb20ad1bf627c0081a0 (diff)
downloadchef-00d33cac95db5ca34caf7dcdb105f392fa57a858.tar.gz
Test no Amazon Linux 2.0amazon_linux_build_essential
It's enough different and we're starting to get a good number of users on the new version. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index ddfb6ff8e0..cbc5925d33 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -139,11 +139,28 @@ matrix:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- cd kitchen-tests
script:
+ - bundle exec kitchen test base-amazonlinux-2
+ after_failure:
+ - cat .kitchen/logs/kitchen.log
+ env:
+ - AMAZON=2
+ - KITCHEN_YAML=.kitchen.travis.yml
+ - rvm: 2.4.3
+ services: docker
+ sudo: required
+ gemfile: kitchen-tests/Gemfile
+ before_install:
+ - gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
+ - gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
+ before_script:
+ - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
+ - cd kitchen-tests
+ script:
- bundle exec kitchen test base-amazonlinux
after_failure:
- cat .kitchen/logs/kitchen.log
env:
- - AMAZON=LATEST
+ - AMAZON=201X
- KITCHEN_YAML=.kitchen.travis.yml
- rvm: 2.4.3
services: docker