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
|
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
# Futures were introduced in Python 3.2 in the `concurrent.futures` package.
# This package has also been backported to older versions of Python and can be
# installed with `pip install futures`. Tornado uses concurrent.futures if
# available; otherwise it will use a compatible class defined in
# tornado.concurrent. We want to test all cases: with and without the 'futures'
# package installed in Python < 3.2, as well as Python >= 3.2.
env:
- FUTURES=yes
- FUTURES=no
matrix:
exclude:
- python: "3.2"
env: FUTURES=yes
- python: "3.3"
env: FUTURES=yes
before_script:
- if [[ "$FUTURES" == "yes" ]]; then pip install futures; fi
script: "python setup.py test"
|