diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-01 10:12:10 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-01 10:12:10 -0800 |
commit | f92b9c45c396e48a570bfd33d82c4d8318df111c (patch) | |
tree | 3bead3f8054178a4482d92622243b2588b3b5815 /.travis.yml | |
parent | 59632aa3f0238368619309db770351ca06eb573e (diff) | |
download | chef-f92b9c45c396e48a570bfd33d82c4d8318df111c.tar.gz |
Add opensuse testing to Travis
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index a28873d849..cc2bd537df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -253,6 +253,24 @@ matrix: env: - FEDORA=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-opensuse-leap-42 + after_failure: + - cat .kitchen/logs/kitchen.log + env: + - OPENSUSELEAP=42 + - KITCHEN_YAML=.kitchen.travis.yml # - rvm: 2.4.2 # services: docker # sudo: required |