Skip to content

Commit

Permalink
Explicitly install Mock at version 1.0.1
Browse files Browse the repository at this point in the history
There are bugs with version 1.1.1 at the moment. See #4613
  • Loading branch information
jenshnielsen committed Jul 10, 2015
1 parent 8b5e226 commit a336112
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Expand Up @@ -34,14 +34,15 @@ language: python
matrix:
include:
- python: 2.6
env: NUMPY=numpy==1.6
env: NUMPY=numpy==1.6 MOCK=true
- python: 2.7
env: MOCK=true
- python: 3.3
- python: 3.4
- python: 2.7
env: TEST_ARGS=--pep8
- python: 2.7
env: BUILD_DOCS=true
env: BUILD_DOCS=true MOCK=true
- python: "nightly"
env: PRE=--pre
allow_failures:
Expand All @@ -63,6 +64,12 @@ install:
# Always install from pypi
- pip install $PRE nose pep8

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

0 comments on commit a336112

Please sign in to comment.