summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-20 22:42:33 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-21 09:37:35 -0800
commit25646e75367e76c497c88f394c3aee0b66548b9d (patch)
tree813f84b0a01f9b1c28a490d8eb888716ef006b54 /.travis.yml
parent054b7dcad329138b6f153f73cf33a180021e79db (diff)
downloadchef-25646e75367e76c497c88f394c3aee0b66548b9d.tar.gz
Fix travis to correctly run-as-rootlcg/testing-crazy-fucking-ideas
A spec here was accidentally dropping privs from root which was causing subsequent chaos with file perms issues in later specs. 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 7f3a518d53..db5edab1ad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -61,18 +61,18 @@ matrix:
- env:
UNIT_SPECS_24: 1
rvm: 2.4.3
- sudo: false
+ sudo: true
script:
- - bundle exec rake spec:unit;
- - bundle exec rake component_specs
+ - sudo -E $(which bundle) exec rake spec:unit;
+ - sudo -E $(which 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: false
+ sudo: true
script:
- - bundle exec rake spec:unit;
- - bundle exec rake component_specs
+ - sudo -E $(which bundle) exec rake spec:unit;
+ - sudo -E $(which bundle) exec rake component_specs
bundler_args: --without ci docgen guard integration maintenance omnibus_package --frozen
- env:
CHEFSTYLE: 1