.travis.yml: don't install Twisted on 3.2 or pycurl on pypy.
This commit is contained in:
parent
c85be5e2f3
commit
0b441c52ed
|
@ -15,11 +15,14 @@ env:
|
|||
install:
|
||||
# always install unittest2 on py26 even if $DEPS is unset
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
|
||||
- if [[ $DEPS == true ]]; then pip install pycares pycurl twisted; fi
|
||||
- if [[ $DEPS == true ]]; then pip install pycares; 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 != 'pypy' && $DEPS == true ]]; then pip install pycurl; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install mock; fi
|
||||
# Twisted runs on 2.x and 3.3+
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != '3.2' && $DEPS == true ]]; then pip install Twisted; fi
|
||||
# On travis the extension should always be built
|
||||
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then export TORNADO_EXTENSION=1; fi
|
||||
- python setup.py install
|
||||
|
|
Loading…
Reference in New Issue