From 50e883b6404a28c47a9e401c3fa6cf03a82986f3 Mon Sep 17 00:00:00 2001 From: Pieter du Preez Date: Wed, 3 Oct 2018 14:36:49 +0200 Subject: [PATCH] Fix "does not allow use of 'sudo'" error in travis Pull requests seem to fail with the following error: > This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid, and setgid executables. > If you require sudo, add 'sudo: required' to your .travis.yml This commit fixes it, by adding 'sudo: required' to .travis.yml, as suggested by the error message. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f97a4ea..630965a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +sudo: required language: c compiler: - gcc