summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-08-11 11:00:29 -0400
committeranselor <anselor@gmail.com>2020-08-11 13:01:25 -0400
commit115143a1a3626cd651d3d18affd13cd60e1d06c8 (patch)
tree7ff5470062466a02251d6597533b2183a507a8b8 /.travis.yml
parent9d314de00100642679abda2cd5e7e0302cde9679 (diff)
downloadcmd2-git-115143a1a3626cd651d3d18affd13cd60e1d06c8.tar.gz
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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index aff51bcb..6a9cdac2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,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
- os: linux
@@ -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