summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2017-11-22 15:26:51 -0500
committerBryan McLellan <btm@loftninjas.org>2017-11-22 16:19:42 -0500
commitfe1c64454e8fc696a6cf81fdc4430ca861466dd6 (patch)
tree53234ad7608510f2e95a8dc4a26156da089627bf
parent89bbdc8b5416e6e5c00b80edd74749a379f97a92 (diff)
downloadchef-btm/travis.tar.gz
Switch from the Travis container to the VMbtm/travis
If `sudo` is `false`, then Travis CI will use a container for testing. If `sudo` is `required, then it will use a GCE VM. We've recently been seeing permission errors that appeared related to the Travis CI infrastructure. Switching to the VM resolves those errors. The downside is that it takes 50s instead of 5s to start up the tester, but given that our tests take 18 minutes that is okay. https://docs.travis-ci.com/user/reference/trusty/ Signed-off-by: Bryan McLellan <btm@loftninjas.org>
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c4562a808e..8e52f38611 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: ruby
-sudo: false
+sudo: required
cache: bundler
dist: trusty