Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
bnavigator authored Dec 29, 2020
commit 06aaec32e30c541f0b4e4749a0a7ab0a3f8a1379
33 changes: 6 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand All @@ -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
Expand All @@ -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
Expand Down