Skip to content

Commit

Permalink
travis-ci tests: always use dist xenial
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ploxiln committed Mar 1, 2019
1 parent f402bd4 commit 1707eb7
Showing 1 changed file with 10 additions and 26 deletions.
36 changes: 10 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 1707eb7

Please sign in to comment.