From 115143a1a3626cd651d3d18affd13cd60e1d06c8 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 11 Aug 2020 11:00:29 -0400 Subject: Adding explicit python 3.5.2 test to nox, travis Python 3.5.2 introduced a bug in typing that was fixed in 3.5.3. The bug in typing prevents the latest nox from running properly. Ubuntu 16.04 stopped at python 3.5.2. To work-around, force an older version of nox when testing 3.5.2 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index aff51bcb..6a9cdac2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: python matrix: include: + - os: linux + python: 3.5.2 + env: NOXSESSION=tests-3.5.2 - os: linux python: 3.5.3 env: NOXSESSION=tests-3.5.3 @@ -38,7 +41,7 @@ matrix: # - BREW_INSTALL=python3 install: - - pip install flake8 nox + - if [[ $TRAVIS_PYTHON_VERSION == 3.5.2 ]]; then pip install flake8 nox==2019.11.9; else pip install flake8 nox; fi # - | # if [[ $TRAVIS_OS_NAME == 'osx' ]]; then # if [[ -n "$BREW_INSTALL" ]]; then -- cgit v1.2.1