From 1707eb76de5d9af37ccbcbdda67b2d6d9bbbbada Mon Sep 17 00:00:00 2001 From: Pierce Lopez Date: Fri, 1 Mar 2019 15:22:14 -0500 Subject: [PATCH] travis-ci tests: always use dist xenial Travis-CI Trusty Container-based environment was available between July, 2017 and December, 2018. https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments --- .travis.yml | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd808b97c0..2382943ffe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,42 +1,26 @@ # https://travis-ci.org/tornadoweb/tornado -# Most tests run in container mode because it's faster to start up, -# but a few below use different configurations (as of July 2018 -# only trusty is available in containers). -dist: trusty -sudo: false - +dist: xenial +language: python matrix: fast_finish: true +addons: + apt: + packages: + - libgnutls-dev -language: python # For a list of available versions, run -# aws s3 ls s3://travis-python-archives/binaries/ubuntu/14.04/x86_64/ -# -# Python 3.7+ needs a newer version of openssl than is available in trusty, -# so these must run on a newer platform (and since travis doesn't yet have -# containers for xenial, those must use VMs). -# YAML magic from https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-401924248 -.mixins: -- &xenial-mixin - dist: xenial - sudo: true - addons: - apt: - packages: - - libgnutls-dev +# aws s3 ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/ jobs: include: # 3.5.2 is interesting because it's the version in ubuntu 16.04, and due to python's # "provisional feature" rules there are significant differences between patch # versions for asyncio and typing. - python: 3.5.2 - - python: 3.5 - - python: 3.6 + - python: '3.5' + - python: '3.6' + - python: '3.7' - python: pypy3.5-5.10.1 - - <<: *xenial-mixin - python: 3.7 - - <<: *xenial-mixin python: nightly install: