From 67c538450e8058b83827088f973dd1729015e646 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 20 Feb 2018 20:53:24 -0800 Subject: Disable sudo on unit tests This seems to make unit tests on travis somewhat more stable Signed-off-by: Lamont Granquist --- .travis.yml | 12 ++++++------ 1 file 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 -- cgit v1.2.1