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 <mark.stemm@gmail.com>
This commit is contained in:
Mark Stemm
2019-09-12 10:58:59 -07:00
committed by Leo Di Donato
parent 1c3bed135f
commit 8ebcbac7a3

View File

@@ -19,7 +19,7 @@ compiler: gcc
env:
- BUILD_TYPE=debug
- BUILD_TYPE=release
sudo: required
dist: xenial
services:
- docker
before_install: