From bb1d52398cc5b616b09b4652eb51030bc038baf5 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 27 Jul 2018 14:39:05 -0700 Subject: [PATCH] travis: test py3.7 too --- .travis.yml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index a732aa3..33c3dad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,14 @@ -sudo: false language: python +# defaults: the py3.7 environment overrides these +dist: trusty +sudo: false + cache: pip before_cache: - rm -f $HOME/.cache/pip/log/debug.log branches: except: - /^WIP-.*$/ -python: - - "2.7" - - "3.3" - - "3.4" - - "3.5" - - "3.6" - - "nightly" install: - pip install -U pip tox virtualenv codecov before_script: @@ -25,6 +21,18 @@ script: after_success: - codecov matrix: + include: + - python: 2.7 + - python: 3.3 + - python: 3.4 + - python: 3.5 + - python: 3.6 + - python: 3.7 + # we don't actually need sudo, but that kicks us onto GCE, which lets + # us get xenial + sudo: true + dist: xenial + - python: nightly allow_failures: - - python: "3.3" - - python: "nightly" + - python: 3.3 + - python: nightly