@@ -13,72 +13,38 @@ cache:
13
13
- $HOME/.local
14
14
15
15
python :
16
+ - " 3.9"
17
+ - " 3.8"
16
18
- " 3.7"
17
19
- " 3.6"
18
- - " 2.7"
19
20
20
- # Test against multiple version of SciPy, with and without slycot
21
- #
22
- # Because there were significant changes in SciPy between v0 and v1, we
23
- # test against both of these using the Travis CI environment capability
24
- #
25
- # We also want to test with and without slycot
26
21
env :
27
22
- SCIPY=scipy SLYCOT=conda # default, with slycot via conda
28
23
- SCIPY=scipy SLYCOT= # default, w/out slycot
29
- - SCIPY="scipy==0.19.1" SLYCOT= # legacy support, w/out slycot
30
24
31
25
# Add optional builds that test against latest version of slycot, python
32
26
jobs :
33
27
include :
34
- - name : " linux, Python 2.7, slycot=source"
35
- os : linux
36
- dist : xenial
37
- services : xvfb
38
- python : " 2.7"
39
- env : SCIPY=scipy SLYCOT=source
40
- - name : " linux, Python 3.7, slycot=source"
41
- os : linux
42
- dist : xenial
43
- services : xvfb
44
- python : " 3.7"
45
- env : SCIPY=scipy SLYCOT=source
46
- - name : " linux, Python 3.8, slycot=source"
47
- os : linux
48
- dist : xenial
49
- services : xvfb
28
+ - name : " Python 3.8, slycot=source"
50
29
python : " 3.8"
51
30
env : SCIPY=scipy SLYCOT=source
52
- - name : " use numpy matrix"
53
- dist : xenial
54
- services : xvfb
55
- python : " 3.8"
56
- env : SCIPY=scipy SLYCOT=source PYTHON_CONTROL_STATESPACE_ARRAY=1
57
-
58
- # Exclude combinations that are very unlikely (and don't work)
59
- exclude :
60
- - python : " 3.7" # python3.7 should use latest scipy
31
+ - name : " Python 3.9, slycot=source, array and matrix"
32
+ python : " 3.9"
33
+ env : SCIPY=scipy SLYCOT=source PYTHON_CONTROL_ARRAY_AND_MATRIX=1
34
+ # Because there were significant changes in SciPy between v0 and v1, we
35
+ # also test against the latest v0 (without Slycot) for old pythons.
36
+ # newer pythons should always use newer SciPy.
37
+ - name : " Python 2.7, Scipy 0.19.1"
38
+ python : " 2.7"
39
+ env : SCIPY="scipy==0.19.1" SLYCOT=
40
+ - name : " Python 3.6, Scipy 0.19.1"
41
+ python : " 3.6"
61
42
env : SCIPY="scipy==0.19.1" SLYCOT=
62
43
63
44
allow_failures :
64
- - name : " linux, Python 2.7, slycot=source"
65
- os : linux
66
- dist : xenial
67
- services : xvfb
68
- python : " 2.7"
69
- env : SCIPY=scipy SLYCOT=source
70
- - name : " linux, Python 3.7, slycot=source"
71
- os : linux
72
- dist : xenial
73
- services : xvfb
74
- python : " 3.7"
75
- env : SCIPY=scipy SLYCOT=source
76
- - name : " linux, Python 3.8, slycot=source"
77
- os : linux
78
- dist : xenial
79
- services : xvfb
80
- python : " 3.8"
81
- env : SCIPY=scipy SLYCOT=source
45
+ - env : SCIPY=scipy SLYCOT=source
46
+ - env : SCIPY=scipy SLYCOT=source PYTHON_CONTROL_ARRAY_AND_MATRIX=1
47
+
82
48
83
49
# install required system libraries
84
50
before_install :
0 commit comments