Only run Twisted tests on Python 2.
This commit is contained in:
committed by
Robert Collins
parent
6d821b5770
commit
2e03ffaff1
22
.travis.yml
22
.travis.yml
@@ -7,27 +7,37 @@ python:
|
||||
- "3.4"
|
||||
- "pypy"
|
||||
|
||||
env:
|
||||
- TWISTED="==13.0.0"
|
||||
- TWISTED="==15.2.0"
|
||||
|
||||
# We have to pin Jinja2 < 2.7 for Python 3.2 because 2.7 drops/breaks support:
|
||||
# http://jinja.pocoo.org/docs/changelog/#version-2-7
|
||||
# And Spinx to < 1.3 for pypy3 and python 3.2 similarly.
|
||||
# And Sphinx to < 1.3 for pypy3 and python 3.2 similarly.
|
||||
#
|
||||
# See also:
|
||||
# http://stackoverflow.com/questions/18252804/syntax-error-in-jinja-2-library
|
||||
#
|
||||
# Twisted tests currently only work on Python 2.
|
||||
matrix:
|
||||
include:
|
||||
- python: "2.6"
|
||||
env:
|
||||
- TWISTED_REQ="Twisted==13.0.0"
|
||||
- TWISTED_REQ="Twisted==15.2.0"
|
||||
- python: "2.7"
|
||||
env:
|
||||
- TWISTED_REQ="Twisted==13.0.0"
|
||||
- TWISTED_REQ="Twisted==15.2.0"
|
||||
- python: "3.2"
|
||||
env:
|
||||
- JINJA_REQ="jinja2<2.7, Pygments<2.0"
|
||||
- SPHINX="<1.3"
|
||||
- python: "pypy"
|
||||
env:
|
||||
- TWISTED_REQ="Twisted==13.0.0"
|
||||
- TWISTED_REQ="Twisted==15.2.0"
|
||||
- python: "pypy3"
|
||||
env: SPHINX="<1.3"
|
||||
|
||||
install:
|
||||
- pip install fixtures $JINJA_REQ sphinx$SPHINX Twisted$TWISTED
|
||||
- pip install fixtures $JINJA_REQ sphinx$SPHINX $TWISTED_REQ
|
||||
- python setup.py install
|
||||
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user