summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-12 17:59:59 -0700
committerTim Smith <tsmith@chef.io>2018-03-15 11:06:09 -0700
commitd88972f463fb7251872cece16d5eedfbc2faa315 (patch)
tree071d7cd25f59ea47b555ef1854c8d4647c3985e1 /.travis.yml
parentfb61966bbc7a2d8920d772ff7f3f3fc8543b107d (diff)
downloadchef-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.yml26
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