From c85be5e2f38251653bfcf921478ebcd4897d4584 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Tue, 13 May 2014 11:02:03 -0400 Subject: [PATCH] Fix .travis.yaml syntax error. Remove deprecated --use-mirrors flag to pip. --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15a42a1b..45cfe625 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,16 +14,16 @@ env: install: # always install unittest2 on py26 even if $DEPS is unset - - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi - - if [[ $DEPS == true]]; then pip install --use-mirrors pycares pycurl twisted; fi - - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then pip install --use-mirrors futures mock Monotime==1.0; fi - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then pip install --use-mirrors sphinx==1.2; fi - - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' && $DEPS == true ]]; then pip install --use-mirrors futures mock; fi - - if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install --use-mirrors mock; fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi + - if [[ $DEPS == true ]]; then pip install pycares pycurl twisted; fi + - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then pip install futures mock Monotime==1.0; fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then pip install sphinx==1.2; fi + - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' && $DEPS == true ]]; then pip install futures mock; fi + - if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install mock; fi # On travis the extension should always be built - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export TORNADO_EXTENSION=1; fi - python setup.py install - - pip install --use-mirrors coveralls + - pip install coveralls script: # Get out of the source directory before running tests to avoid PYTHONPATH