Skip to content

Commit 3ee021c

Browse files
committed
BLD: make sure Travis doesn' use Matplotlib 2.0 for Python 2.6 tests
1 parent 28c66f7 commit 3ee021c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ matrix:
1616
- PYFLAKES=1
1717
- PEP8=1
1818
- NUMPYSPEC=numpy
19+
- MPLSPEC=matplotlib
1920
before_install:
2021
- pip install pep8==1.5.1
2122
- pip install pyflakes
@@ -25,22 +26,27 @@ matrix:
2526
- python: 3.5
2627
env:
2728
- NUMPYSPEC=numpy
29+
- MPLSPEC=matplotlib
2830
- USE_WHEEL=1
2931
- os: linux
3032
python: 3.4
3133
env:
3234
- NUMPYSPEC=numpy
35+
- MPLSPEC=matplotlib
3336
- USE_SDIST=1
3437
- os: linux
3538
python: 2.6
3639
env:
3740
- NUMPYSPEC="numpy==1.9.3"
41+
- MPLSPEC="matplotlib<2"
3842
- python: 2.7
3943
env:
4044
- NUMPYSPEC=numpy
45+
- MPLSPEC=matplotlib
4146
- python: 3.5
4247
env:
4348
- NUMPYSPEC=numpy
49+
- MPLSPEC=matplotlib
4450
- REFGUIDE_CHECK=1 # run doctests only
4551

4652
cache: pip
@@ -55,7 +61,7 @@ before_install:
5561
- pip install --upgrade wheel
5662
# Set numpy version first, other packages link against it
5763
- pip install $NUMPYSPEC
58-
- pip install Cython matplotlib nose coverage codecov futures
64+
- pip install Cython $MPLSPEC nose coverage codecov futures
5965
- set -o pipefail
6066
- if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi
6167
- |

0 commit comments

Comments
 (0)