diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-05-26 09:31:12 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-05-26 09:31:12 -0700 |
commit | 82405eac69831a9b85d9a6701d406709e28abe3d (patch) | |
tree | ad479b325ad73d43036da525d4991b088dfe09d0 /.travis.yml | |
parent | 4983a764c34e4dac894fe87c3a893e4d54fa7e54 (diff) | |
parent | 5f63ad8716e03a29a515aed8c138f41327638901 (diff) | |
download | chef-82405eac69831a9b85d9a6701d406709e28abe3d.tar.gz |
Merge pull request #4967 from chef/lcg/kitchen-tests3
add a few more distros to kitchen testing
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 75 |
1 files changed, 71 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index dab0fd43d7..b81c538737 100644 --- a/.travis.yml +++ b/.travis.yml @@ -110,7 +110,6 @@ matrix: TEST_GEM: poise script: tasks/bin/run_external_test $TEST_GEM rake spec rvm: 2.2 - # ### START TEST KITCHEN ONLY ### # - rvm: 2.2 @@ -128,7 +127,7 @@ matrix: after_failure: - cat .kitchen/logs/kitchen.log env: - - UBUNTU=1204 + - UBUNTU=12.04 - KITCHEN_YAML=.kitchen.travis.yml - rvm: 2.2 services: docker @@ -145,7 +144,7 @@ matrix: after_failure: - cat .kitchen/logs/kitchen.log env: - - UBUNTU=1404 + - UBUNTU=14.04 - KITCHEN_YAML=.kitchen.travis.yml - rvm: 2.2 services: docker @@ -162,7 +161,41 @@ matrix: after_failure: - cat .kitchen/logs/kitchen.log env: - - UBUNTU=1604 + - UBUNTU=16.04 + - KITCHEN_YAML=.kitchen.travis.yml + - rvm: 2.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) + before_script: + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests + script: + - bundle exec kitchen test debian-7 + after_failure: + - cat .kitchen/logs/kitchen.log + env: + - DEBIAN=7 + - KITCHEN_YAML=.kitchen.travis.yml + - rvm: 2.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) + before_script: + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests + script: + - bundle exec kitchen test debian-8 + after_failure: + - cat .kitchen/logs/kitchen.log + env: + - DEBIAN=8 - KITCHEN_YAML=.kitchen.travis.yml - rvm: 2.2 services: docker @@ -181,6 +214,40 @@ matrix: env: - CENTOS=6 - KITCHEN_YAML=.kitchen.travis.yml + - rvm: 2.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) + before_script: + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests + script: + - bundle exec kitchen test centos-7 + after_failure: + - cat .kitchen/logs/kitchen.log + env: + - CENTOS=7 + - KITCHEN_YAML=.kitchen.travis.yml + - rvm: 2.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) + before_script: + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests + script: + - bundle exec kitchen test fedora-23 + after_failure: + - cat .kitchen/logs/kitchen.log + env: + - FEDORA=23 + - KITCHEN_YAML=.kitchen.travis.yml ### END TEST KITCHEN ONLY ### - rvm: 2.2 sudo: required |