From 8ebcbac7a38716cc294bd2e7990eb2a0862067ac Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Thu, 12 Sep 2019 10:58:59 -0700 Subject: [PATCH] Use xenial instead of trusty According to https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment, xenial is supposed to be the default linux build environment, using vms. However, our jobs are still using trusty, even though we don't specify a distribution. Explicitly use xenial via dist: xenial. Also remove the sudo option, which historically made sure you were running on a vm and not in a container. Container-based builds are deprecated as of https://changelog.travis-ci.com/the-container-based-build-environment-is-fully-deprecated-84517. Signed-off-by: Mark Stemm --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5f71f2f0..6e7c658c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ compiler: gcc env: - BUILD_TYPE=debug - BUILD_TYPE=release -sudo: required +dist: xenial services: - docker before_install: