Fix .travis.yaml syntax error.
Remove deprecated --use-mirrors flag to pip.
This commit is contained in:
parent
00d9ac38ab
commit
c85be5e2f3
14
.travis.yml
14
.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
|
||||
|
|
Loading…
Reference in New Issue