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

Skip to content

Commit eb26fad

Browse files
committed
Install mock unconditionally
1 parent 0cf5dcb commit eb26fad

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.travis.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ matrix:
3636
include:
3737
- python: 2.7
3838
env: MOCK=mock NUMPY=numpy==1.6
39+
- python: 2.7
40+
env: PANDAS=pandas
41+
- python: 3.3
3942
- python: 3.4
4043
- python: 3.5
4144
env: PANDAS=pandas
4245
- python: 3.5
4346
env: TEST_ARGS=--pep8
4447
- python: 2.7
45-
env: BUILD_DOCS=true MOCK=mock
48+
env: BUILD_DOCS=true
4649
- python: "nightly"
4750
env: PRE=--pre
4851
allow_failures:
@@ -62,21 +65,14 @@ install:
6265
pip install --upgrade setuptools
6366
# Install only from travis wheelhouse
6467
- if [ -z "$PRE" ]; then
65-
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0;
68+
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0 mock;
6669
else
67-
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
70+
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0 mock;
6871
fi
6972
# Always install from pypi
7073
- pip install $PRE pep8 cycler
7174
- 'pip install https://github.com/tacaswell/nose/zipball/mnt_py36_compat#egg=nose'
7275

73-
# Install mock on python 2. Python 2.6 requires mock 1.0.1
74-
# Since later versions have dropped support
75-
- |
76-
if [[ -n "$MOCK" ]]; then
77-
echo $MOCK
78-
pip install $MOCK
79-
fi;
8076
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
8177
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
8278
# version since is it basically just a .ttf file

0 commit comments

Comments
 (0)