From 5996cf8abacddf22af7e0523cca9f1c4be0b46c7 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 4 Aug 2014 10:48:15 -0500 Subject: [PATCH] Add travis_retry around the conda installs --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b0acc3c4..3a061e13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ before_install: conda config --set always_yes yes; conda update conda; conda info -a; - conda create -n test $ENV six scipy pip flake8 nose; + travis_retry conda create -n test $ENV six scipy pip flake8 nose; source activate test; fi - pip install coveralls pillow @@ -72,7 +72,7 @@ script: pip install --use-mirrors -q matplotlib; pip install -q networkx; else - conda install -q matplotlib pyqt networkx; + travis_retry conda install -q matplotlib pyqt networkx; sudo cp ~/miniconda/envs/test/include/png* /usr/include; rm ~/miniconda/envs/test/lib/libm-2.5.so; rm ~/miniconda/envs/test/lib/libm.*;