Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02e8541

Browse files
committed
Explicitly install Mock at version 1.0.1
There are bugs with version 1.1.1 at the moment. See #4613
1 parent 8b5e226 commit 02e8541

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ matrix:
3535
include:
3636
- python: 2.6
3737
env: NUMPY=numpy==1.6
38+
env: MOCK=true
3839
- python: 2.7
40+
env: MOCK=true
3941
- python: 3.3
4042
- python: 3.4
4143
- python: 2.7
@@ -63,6 +65,12 @@ install:
6365
# Always install from pypi
6466
- pip install $PRE nose pep8
6567

68+
# Install mock on python 2. We limit to 1.0.1 at the moment
69+
# https://github.com/matplotlib/matplotlib/issues/4613
70+
- |
71+
if [[ $MOCK == true ]]; then
72+
pip install mock==1.0.1
73+
fi;
6674
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
6775
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
6876
# version since is it basically just a .ttf file

0 commit comments

Comments
 (0)