Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a336112

Browse filesBrowse 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 a336112
Copy full SHA for a336112

File tree

Expand file treeCollapse file tree

1 file changed

+9
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-2
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+9-2Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ language: python
3434
matrix:
3535
include:
3636
- python: 2.6
37-
env: NUMPY=numpy==1.6
37+
env: NUMPY=numpy==1.6 MOCK=true
3838
- python: 2.7
39+
env: MOCK=true
3940
- python: 3.3
4041
- python: 3.4
4142
- python: 2.7
4243
env: TEST_ARGS=--pep8
4344
- python: 2.7
44-
env: BUILD_DOCS=true
45+
env: BUILD_DOCS=true MOCK=true
4546
- python: "nightly"
4647
env: PRE=--pre
4748
allow_failures:
@@ -63,6 +64,12 @@ install:
6364
# Always install from pypi
6465
- pip install $PRE nose pep8
6566

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.