summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-05-01 19:54:27 -0700
committerTim Smith <tsmith@chef.io>2019-05-07 16:14:43 -0700
commitff37ce0cf8e74ccafa2e9ae6d11961bd4ad0db27 (patch)
treec6e99cad2247eb302b90f44508d4da133d45ab03
parent70ac9a7b8ce1ae77393c2eb3ef106f2e0d17c4e7 (diff)
downloadchef-ff37ce0cf8e74ccafa2e9ae6d11961bd4ad0db27.tar.gz
Remove leftover sudo configs in travis
Sudo is always true now Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.travis.yml7
1 files changed, 0 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 1b9fba1380..59a528b63c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,6 @@ before_script:
# force all .rspec tests into progress display to reduce line count
- echo --color > .rspec
- echo -fp >> .rspec
- # necessary for sudo: true tests, ingore failures on tests invoked with sudo: false
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
# do not run expensive spec tests on PRs, only on branches
@@ -37,32 +36,27 @@ matrix:
- env:
INTEGRATION_SPECS_25: 1
rvm: 2.5.5
- sudo: true
script: sudo -E $(which bundle) exec rake spec:integration;
bundler_args: --without docgen integration omnibus_package --frozen
- env:
INTEGRATION_SPECS_26: 1
rvm: 2.6.3
- sudo: true
script: sudo -E $(which bundle) exec rake spec:integration;
bundler_args: --without docgen integration omnibus_package --frozen
- env:
FUNCTIONAL_SPECS_25: 1
rvm: 2.5.5
- sudo: true
# the travis apt proxy screws with our functional testing something fierce
script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
bundler_args: --without docgen integration omnibus_package --frozen
- env:
FUNCTIONAL_SPECS_26: 1
rvm: 2.6.3
- sudo: true
script: sudo rm -f /etc/apt/apt.conf.d/99-travis-apt-proxy; sudo -E $(which bundle) exec rake spec:functional;
bundler_args: --without docgen integration omnibus_package --frozen
- env:
UNIT_SPECS_25: 1
rvm: 2.5.5
- sudo: true
script:
- sudo -E $(which bundle) exec rake spec:unit;
- sudo -E $(which bundle) exec rake component_specs
@@ -70,7 +64,6 @@ matrix:
- env:
UNIT_SPECS_26: 1
rvm: 2.6.3
- sudo: true
script:
- sudo -E $(which bundle) exec rake spec:unit;
- sudo -E $(which bundle) exec rake component_specs