From dfb77fd2ebb501584212bb29f25b3725a9566528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4fer?= Date: Sat, 16 May 2020 20:53:55 +0200 Subject: [PATCH] Remove unnecessary historic configuration: 'sudo: false' I hope I did enough Googling. I really tried to find a reason to keep `sudo :false` in 2020 but it seems that it has no effect anymore. I even tried to `sudo echo foo` during Travis' `install` phase and that works with and without `sudo: false`. Docs: https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments Blog post stating "If you currently specify sudo: false in your .travis.yml, we recommend removing that configuration soon": https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration --- bundles/best_practices.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/best_practices.rst b/bundles/best_practices.rst index 3dcd90036dc..e80050e2fce 100644 --- a/bundles/best_practices.rst +++ b/bundles/best_practices.rst @@ -181,7 +181,7 @@ of Symfony and the latest beta release: .. code-block:: yaml language: php - sudo: false + cache: directories: - $HOME/.composer/cache/files