8000 Only install doc requirements if doing doc build · matplotlib/matplotlib@dbc8929 · GitHub
[go: up one dir, main page]

Skip to content

Commit dbc8929

Browse files
committed
Only install doc requirements if doing doc build
1 parent 7d6b0c8 commit dbc8929

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ install:
116116
- |
117117
# Install dependencies from pypi
118118
pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE
119-
pip install $PRE -r doc-requirements.txt
119+
if [[ $BUILD_DOCS == true ]]; then
120+
pip install $PRE -r doc-requirements.txt
121+
fi
120122
121123
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
122124
pip install $PRE pytest 'pytest-cov>=2.3.1' pytest-faulthandler pytest-rerunfailures pytest-timeout pytest-warnings pytest-xdist $INSTALL_PEP8

0 commit comments

Comments
 (0)
0