File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ language: python
34
34
matrix :
35
35
include :
36
36
- python : 2.6
37
- env : NUMPY=numpy==1.6 MOCK=true
37
+ env : NUMPY=numpy==1.6 MOCK=mock==1.0.1
38
38
- python : 2.7
39
- env : MOCK=true
39
+ env : MOCK=mock
40
40
- python : 3.3
41
41
- python : 3.4
42
42
- python : 2.7
43
43
env : TEST_ARGS=--pep8
44
44
- python : 2.7
45
- env : BUILD_DOCS=true MOCK=true
45
+ env : BUILD_DOCS=true MOCK=mock
46
46
- python : " nightly"
47
47
env : PRE=--pre
48
48
allow_failures :
@@ -64,11 +64,12 @@ install:
64
64
# Always install from pypi
65
65
- pip install $PRE nose pep8
66
66
67
- # Install mock on python 2. We limit to 1.0.1 at the moment
68
- # https://github.com/matplotlib/matplotlib/issues/4613
67
+ # Install mock on python 2. Python 2.6 requires mock 1.0.1
68
+ # Since later versions have dropped support
69
69
- |
70
- if [[ $MOCK == true ]]; then
71
- pip install mock==1.0.1
70
+ if [[ -n "$MOCK" ]]; then
71
+ echo $MOCK
72
+ pip install $MOCK
72
73
fi;
73
74
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
74
75
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
You can’t perform that action at this time.
0 commit comments