summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-11-25 08:09:42 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-11-25 08:09:42 -0800
commit4b2c5851f025f26e2379da703949b0f04ee047fb (patch)
tree414277475d45cb2519640f11ba119bcc1572f397 /.travis.yml
parent67dc553a920eef8beb9365194897aefba4cb86a9 (diff)
downloadchef-4b2c5851f025f26e2379da703949b0f04ee047fb.tar.gz
Only run as sudo for tests that need it
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
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'\""