Skip to content

Commit

Permalink
Merge pull request #4616 from jenshnielsen/mockversion
Browse files Browse the repository at this point in the history
Explicitly install Mock at version 1.0.1
  • Loading branch information
jenshnielsen committed Jul 10, 2015
2 parents 7535c26 + a336112 commit 16c125e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
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 16c125e

Please sign in to comment.