diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-25 08:09:42 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-25 08:09:42 -0800 |
commit | 4b2c5851f025f26e2379da703949b0f04ee047fb (patch) | |
tree | 414277475d45cb2519640f11ba119bcc1572f397 /.travis.yml | |
parent | 67dc553a920eef8beb9365194897aefba4cb86a9 (diff) | |
download | chef-4b2c5851f025f26e2379da703949b0f04ee047fb.tar.gz |
Only run as sudo for tests that need it
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 160474514a..87c5a016ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: ruby cache: bundler +sudo: false # Early warning system to catch if Rubygems breaks something before_install: # the new 2.5.0 rubygems is busted with 1.7.6 bundler, the @@ -29,7 +30,9 @@ env: matrix: include: - rvm: 2.1 + sudo: true - rvm: 2.2 + sudo: true - rvm: 2.2 cache: env: "GEMFILE_MOD=\"gem 'chef-zero', github: 'chef/chef-zero'\"" |