From d29eb987c4e35eb37f3c280983ee0a24a79d4e4a Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Tue, 24 May 2016 09:21:35 +0100 Subject: [PATCH 1/3] Install all dependencies from pypi We now have manylinux wheels which works on Travis and in any case we are caching the locally build wheels --- .travis.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 674251b9b90..e5b642608c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,15 +77,9 @@ install: pip install --upgrade wheel pip install --upgrade setuptools - | - # Install only from travis wheelhouse - if [ -z "$PRE" ]; then - wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing!=2.1.2 pillow sphinx!=1.3.0; - else - pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.2 pillow sphinx!=1.3.0; - fi - # Always install from pypi - pip install $PRE pep8 cycler coveralls coverage - pip install pillow sphinx!=1.3.0 $MOCK numpydoc ipython colorspacious + # Install dependencies from pypi + pip install $PRE python-dateutil $NUMPY pyparsing!=2.1.2 $PANDAS pep8 cycler coveralls coverage + pip install $PRE pillow sphinx!=1.3.0 $MOCK numpydoc ipython colorspacious # Install nose from a build which has partial # support for python36 and suport for coverage output suppressing pip install git+https://github.com/jenshnielsen/nose.git@matplotlibnose From 8f3de2f7c3d042723b34f4ca79db5feffe15e48d Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Wed, 20 Apr 2016 08:29:40 +0100 Subject: [PATCH 2/3] Make sure that numpy build against openblas only uses one thread --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index e5b642608c5..661d4fa550b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ env: - secure: "dfjNqGKzQG5bu3FnDNwLG8H/C4QoieFo4PfFmZPdM2RY7WIzukwKFNT6kiDfOrpwt+2bR7FhzjOGlDECGtlGOtYPN8XuXGjhcP4a4IfakdbDfF+D3NPIpf5VlE6776k0VpvcZBTMYJKNFIMc7QPkOwjvNJ2aXyfe3hBuGlKJzQU=" - BUILD_DOCS=false - NUMPY=numpy + - OPENBLAS_NUM_THREADS=1 - PANDAS= - NPROC=2 - TEST_ARGS=--no-pep8 From 2d9799ffb3137b0a03e87d7e5abacfc5557f3115 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Wed, 25 May 2016 17:13:45 +0100 Subject: [PATCH 3/3] Remove echo line Which is not always true and redundant with the noseargs line below --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 661d4fa550b..2766b46b55e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,7 +120,6 @@ script: - | echo Testing import of tkagg backend MPLBACKEND="tkagg" python -c 'import matplotlib.pyplot as plt; print(plt.get_backend())' - echo Testing using $NPROC processes echo The following args are passed to nose $NOSE_ARGS if [[ $BUILD_DOCS == false ]]; then export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples