forked from testing-cabal/testtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (42 loc) · 1.1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
# 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 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"
- python: "2.6"
env: TWISTED_REQ="Twisted"
- python: "2.7"
env: TWISTED_REQ="Twisted==13.0.0"
- python: "2.7"
env: TWISTED_REQ="Twisted"
- python: "3.2"
env:
- JINJA_REQ="jinja2<2.7, Pygments<2.0"
- SPHINX="<1.3"
- python: "pypy"
env: TWISTED_REQ="Twisted==13.0.0"
- python: "pypy"
env: TWISTED_REQ="Twisted"
- python: "pypy3"
env: SPHINX="<1.3"
install:
- pip install fixtures $JINJA_REQ sphinx$SPHINX $TWISTED_REQ
- python setup.py install
script:
- python -m testtools.run testtools.tests.test_suite
- make clean-sphinx docs