File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,17 @@ language: python
2
2
3
3
sudo : false
4
4
5
- os :
6
- - linux
7
- - windows
8
- - osx
9
-
10
5
env :
11
6
global :
12
7
- SETUP_XVFB=True
8
+ - MPLBACKEND=Agg
13
9
- TOXENV='test'
14
10
- TOXARGS='-v'
15
11
- TOXPOSARGS=''
16
12
17
13
matrix :
18
14
include :
15
+ # Test all configurations on Linux
19
16
- python : 2.7
20
17
env : TOXENV=py27-test-mpl15
21
18
- python : 3.5
@@ -32,8 +29,13 @@ matrix:
32
29
env : TOXENV=py38-test-minimal
33
30
- python : 3.8
34
31
env : TOXENV=codestyle
32
+ # Also test the oldest and newest configuration on Mac and Windows
33
+ - os : osx
34
+ env : PYTHON_VERSION=2.7 TOXENV=py27-test-mpl15
35
35
- os : osx
36
36
env : PYTHON_VERSION=3.8 TOXENV=py38-test-mpl31
37
+ - os : windows
38
+ env : PYTHON_VERSION=2.7 TOXENV=py27-test-mpl15
37
39
- os : windows
38
40
env : PYTHON_VERSION=3.8 TOXENV=py38-test-mpl31
39
41
@@ -43,7 +45,7 @@ install:
43
45
source ci-helpers/travis/setup_conda.sh;
44
46
fi
45
47
46
- script :
48
+ script :
47
49
- pip install tox
48
50
- tox $TOXARGS -- $TOXPOSARGS
49
51
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ requires =
7
7
pip >= 19.3.1
8
8
9
9
[testenv]
10
- passenv = DISPLAY
10
+ passenv = DISPLAY MPLBACKEND WINDIR
11
11
changedir = .tmp/{envname}
12
12
description = run tests
13
13
deps =
You can’t perform that action at this time.
0 commit comments