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

Skip to content

Commit ee3b492

Browse files
committed
Install mock only on Python 2.7
1 parent eb26fad commit ee3b492

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ matrix:
3737
- python: 2.7
3838
env: MOCK=mock NUMPY=numpy==1.6
3939
- python: 2.7
40-
env: PANDAS=pandas
40+
env: PANDAS=pandas MOCK=mock
4141
- python: 3.3
4242
- python: 3.4
4343
- python: 3.5
@@ -65,9 +65,9 @@ install:
6565
pip install --upgrade setuptools
6666
# Install only from travis wheelhouse
6767
- if [ -z "$PRE" ]; then
68-
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0 mock;
68+
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0 $MOCK;
6969
else
70-
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0 mock;
70+
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
7171
fi
7272
# Always install from pypi
7373
- pip install $PRE pep8 cycler

0 commit comments

Comments
 (0)