From 790bdce72ab3f2b6c203f00eaf07e6d605aa631a Mon Sep 17 00:00:00 2001 From: Kamal Marhubi Date: Thu, 28 May 2015 14:25:40 -0400 Subject: [PATCH] Force use of virtualized Travic CI infrastructure to allow sudo Newly set up projects on Travis CI use their containerized infrastructure, which doesn't allow setuid programs to run. Adding the `sudo: required` line opts out of the containerized infrastructure. The current `setup_travis.sh` uses sudo to call `update-alternatives` which doesn't have an equivalent yet. Tracking bug for that feature: https://github.com/travis-ci/travis-ci/issues/3668 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e65ce0d..5b28cdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +# Use older, non-container infrastructure to allow sudo +sudo: required + language: python python: