summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-20 20:53:24 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-20 20:53:24 -0800
commit67c538450e8058b83827088f973dd1729015e646 (patch)
tree6f48fc58e7a2e65f5979e8e4d2b5045e9de4f168 /.travis.yml
parentceffdc51d6ad9aa9074d7f4448d8b46d02d95fbb (diff)
downloadchef-67c538450e8058b83827088f973dd1729015e646.tar.gz
Disable sudo on unit testslcg/travis-teting
This seems to make unit tests on travis somewhat more stable Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index db5edab1ad..7f3a518d53 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,18 +61,18 @@ matrix:
- env:
UNIT_SPECS_24: 1
rvm: 2.4.3
- sudo: true
+ sudo: false
script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
+ - bundle exec rake spec:unit;
+ - bundle exec rake component_specs
bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- env:
UNIT_SPECS_25: 1
rvm: 2.5.0
- sudo: true
+ sudo: false
script:
- - sudo -E $(which bundle) exec rake spec:unit;
- - sudo -E $(which bundle) exec rake component_specs
+ - bundle exec rake spec:unit;
+ - bundle exec rake component_specs
bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- env:
CHEFSTYLE: 1