summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-11-30 16:34:45 -0800
committerTim Smith <tsmith@chef.io>2017-11-30 16:34:45 -0800
commit3ba602b86986d974da19ba1448dc32d8f41e8685 (patch)
treede00c6173f0838fa18dbe3124546e1f69714fad2 /.travis.yml
parentcf27847f85509f9d0a8dadf433f32e6d0332cd31 (diff)
downloadchef-3ba602b86986d974da19ba1448dc32d8f41e8685.tar.gz
Add Amazon Linux kitchen run to Travis
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 80effc9fcf..b7957a8388 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -103,6 +103,24 @@ matrix:
- 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
+ - KITCHEN_YAML=.kitchen.travis.yml
+ - rvm: 2.4.2
+ 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)
+ bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
+ before_script:
+ - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
+ - cd kitchen-tests
+ script:
- bundle exec kitchen test base-ubuntu-1404
after_failure:
- cat .kitchen/logs/kitchen.log