From 06aaec32e30c541f0b4e4749a0a7ab0a3f8a1379 Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Tue, 29 Dec 2020 01:56:14 +0100 Subject: [PATCH] Stop testing Python 2.7, 3.5 and scipy 0.19 merging #447, which did not fail in the PR tests, started to fail master after the merge, because `cont2discrete(..., 'impulse')` fails. Following NEP 29 we could even drop 3.6. But that is still active in distributions like openSUSE Leap 15.x, so I would like to keep that. --- .travis.yml | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec615501d..22bc99e10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,11 @@ cache: - $HOME/.local python: + - "3.9" + - "3.8" - "3.7" - "3.6" - - "2.7" + # Test against multiple version of SciPy, with and without slycot # @@ -26,18 +28,11 @@ python: env: - SCIPY=scipy SLYCOT=conda # default, with slycot via conda - SCIPY=scipy SLYCOT= # default, w/out slycot - - SCIPY="scipy==0.19.1" SLYCOT= # legacy support, w/out slycot # Add optional builds that test against latest version of slycot, python jobs: include: - - name: "linux, Python 2.7, slycot=source" - os: linux - dist: xenial - services: xvfb - python: "2.7" - env: SCIPY=scipy SLYCOT=source - - name: "linux, Python 3.7, slycot=source" + - name: "linux, Python 3.8, slycot=source" os: linux dist: xenial services: xvfb @@ -49,31 +44,15 @@ jobs: services: xvfb python: "3.8" env: SCIPY=scipy SLYCOT=source - - name: "use numpy matrix" - dist: xenial - services: xvfb - python: "3.8" - env: SCIPY=scipy SLYCOT=source PYTHON_CONTROL_STATESPACE_ARRAY=1 - - # Exclude combinations that are very unlikely (and don't work) - exclude: - - python: "3.7" # python3.7 should use latest scipy - env: SCIPY="scipy==0.19.1" SLYCOT= allow_failures: - - name: "linux, Python 2.7, slycot=source" - os: linux - dist: xenial - services: xvfb - python: "2.7" - env: SCIPY=scipy SLYCOT=source - - name: "linux, Python 3.7, slycot=source" + - name: "linux, Python 3.9, slycot=source" os: linux dist: xenial services: xvfb python: "3.7" env: SCIPY=scipy SLYCOT=source - - name: "linux, Python 3.8, slycot=source" + - name: "linux, Python 3.9, slycot=source" os: linux dist: xenial services: xvfb