update docker os_image to ubuntu18 and gcc7

Summary:
This diff updates docker os_image to ubuntu18 and gcc7 in travis settings.
The dependencies that we work with internally (e.g. gcc7, boost and so on) are not present in the ubuntu-16.04. Further, the support for gcc5 is going away. So maintaining this compatibility for these platforms is painful, especially for new projects, such as mvfst.

Reviewed By: simpkins

Differential Revision: D15286181

fbshipit-source-id: eb0da9556cdb17d0aa132ac2aa4c35f9c6eccd97
This commit is contained in:
Udip Pant 2019-05-10 16:35:42 -07:00 committed by Facebook Github Bot
parent b22731e3b5
commit e4db25f8b7
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ cache:
# https://github.com/travis-ci/travis-ci/issues/5142
matrix:
include:
- env: ['os_image=ubuntu:16.04', gcc_version=5]
- env: ['os_image=ubuntu:18.04', gcc_version=7]
services: [docker]
addons:

View File

@ -45,6 +45,7 @@ def make_docker_context(
valid_versions = (
('ubuntu:16.04', '5'),
('ubuntu:18.04', '7'),
)
def add_args(parser):