From 735357da1d60e057901bb1496b37ce9bfce29d88 Mon Sep 17 00:00:00 2001 From: niphlod Date: Sun, 1 Sep 2013 01:02:48 +0200 Subject: [PATCH] seems that --use-mirrors is ATM borked. Anyway, --use-mirrors is going to de deprecated in future releases of pip. Pypi infrastructure is more reliable than a year ago, let's hope we don't incur in any downtimes. --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ee324e3..40a1af6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,17 @@ python: - '2.7' - 'pypy' install: - - pip install -e . --use-mirrors + - pip install -e . env: - DB=sqlite:memory - DB=mysql://root:@localhost/test_w2p - DB=postgres://postgres:@localhost/test_w2p before_script: - - if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then pip install --use-mirrors unittest2; fi - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors coverage; fi; - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install --use-mirrors python-coveralls; fi - - if [[ $DB == postgres* ]]; then pip install --use-mirrors psycopg2; fi; - - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors pysqlite; fi + - if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then pip install unittest2; fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install coverage; fi; + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install python-coveralls; fi + - if [[ $DB == postgres* ]]; then pip install psycopg2; fi; + - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install pysqlite; fi - if [[ $DB == mysql* ]]; then mysql -e 'create database test_w2p;'; fi - if [[ $DB == postgres* ]]; then psql -c 'create database test_w2p;' -U postgres; fi #Temporal solution to travis issue #155