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
This commit is contained in:
Kamal Marhubi
2015-05-28 14:25:40 -04:00
parent a5bf532d53
commit 790bdce72a

View File

@@ -1,3 +1,6 @@
# Use older, non-container infrastructure to allow sudo
sudo: required
language: python
python: