diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-12 17:59:59 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-15 11:06:09 -0700 |
commit | d88972f463fb7251872cece16d5eedfbc2faa315 (patch) | |
tree | 071d7cd25f59ea47b555ef1854c8d4647c3985e1 /.travis.yml | |
parent | fb61966bbc7a2d8920d772ff7f3f3fc8543b107d (diff) | |
download | chef-d88972f463fb7251872cece16d5eedfbc2faa315.tar.gz |
Add the sudo resource from the sudo resource
Copied as is with the new description fields added.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 30d8ef45a1..ddfb6ff8e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -269,32 +269,32 @@ matrix: 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) + - 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 + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests script: - - bundle exec kitchen test base-fedora-latest + - bundle exec kitchen test base-fedora-latest after_failure: - - cat .kitchen/logs/kitchen.log + - cat .kitchen/logs/kitchen.log env: - - FEDORA=latest - - KITCHEN_YAML=.kitchen.travis.yml + - FEDORA=latest + - 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) + - 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 + - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) + - cd kitchen-tests script: - bundle exec kitchen test base-opensuse-leap after_failure: - - cat .kitchen/logs/kitchen.log + - cat .kitchen/logs/kitchen.log env: - OPENSUSELEAP=42 - KITCHEN_YAML=.kitchen.travis.yml |