Files
deb-python-falcon/.travis.yml
Kurt Griffiths 2ee5e549d7 test: Migrate several test modules away from the deprecated framework (#901)
* Migrate additional test modules away from the deprecated framework,
  taking care to demonstrate both unittest- and pytest-style testing.
* Add an additional Cookie class and parse cookies in the Result object
  to facilitate cookie testing.
* Extend BoundStream to implement more of the IO protocol so that
  it works with mock WSGI input objects (and potentially improves
  compatibility as a drop-in replacement for the native WSGI input
  object).
* Disable pypy3 testing on Travis, since it uses a buggy cookie impl,
  and also we don't support pypy3 (yet) since overall it isn't fully
  baked.
* Specify latest pypy version for Travis testing, which has improved
  cookie handling.
2016-09-17 22:17:42 -06:00

59 lines
1.3 KiB
YAML

language: python
sudo: false
install: travis_scripts/install.sh
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- python: 2.7 # these are just to make travis's UI a bit prettier
env: JYTHON=true
- python: pypy-5.3
env: TOXENV=pypy
# - python: pypy3
# env: TOXENV=pypy3
- python: 2.7
env: TOXENV=pep8
- python: 2.6
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=py27_smoke
- python: 2.7
env: TOXENV=py27_cython
- python: 2.7
env: TOXENV=py27_smoke_cython
- python: 3.3
env: TOXENV=py33
- python: 3.3
env: TOXENV=py33_cython
- python: 3.4
env: TOXENV=py34
- python: 3.4
env: TOXENV=py34_cython
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35_cython
- python: 2.7
env: TOXENV=docs
script: travis_scripts/run_tests.sh
notifications:
irc:
channels:
- "chat.freenode.net#falconframework"
on_success: change
on_failure: always
use_notice: true
skip_join: true
before_install:
- pip install codecov
after_success:
- coverage combine .coverage_data
- codecov