From dbc89292858a364f9e59d29b77e3ab22e722d561 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 5 May 2017 13:44:58 -0700 Subject: [PATCH 1/3] Only install doc requirements if doing doc build --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2592bfc64cd7..e6a185dfeddd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,7 +116,9 @@ install: - | # Install dependencies from pypi pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE - pip install $PRE -r doc-requirements.txt + if [[ $BUILD_DOCS == true ]]; then + pip install $PRE -r doc-requirements.txt + fi # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124 pip install $PRE pytest 'pytest-cov>=2.3.1' pytest-faulthandler pytest-rerunfailures pytest-timeout pytest-warnings pytest-xdist $INSTALL_PEP8 From fa670feceeb35b317c4cc7dfef3f16ccb491b072 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 5 May 2017 14:01:06 -0700 Subject: [PATCH 2/3] Add sphinx to test requirements --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e6a185dfeddd..27d6e76b9f82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,7 +115,7 @@ install: pip install --upgrade setuptools - | # Install dependencies from pypi - pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE + pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE sphinx if [[ $BUILD_DOCS == true ]]; then pip install $PRE -r doc-requirements.txt fi From f0fb2234a2b8faece131b4a7ce48e582100b0817 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 11 May 2017 16:50:31 +0100 Subject: [PATCH 3/3] Install pillow on all travis builds --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 27d6e76b9f82..740e6f0113e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,7 +115,7 @@ install: pip install --upgrade setuptools - | # Install dependencies from pypi - pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE sphinx + pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.6 $PANDAS cycler codecov coverage $MOCK $NOSE sphinx pillow if [[ $BUILD_DOCS == true ]]; then pip install $PRE -r doc-requirements.txt fi