injector/.travis.yml

25 lines
650 B
YAML
Raw Normal View History

sudo: false
2012-11-13 17:50:46 +00:00
language: python
cache: pip
2012-11-13 17:50:46 +00:00
python:
2014-05-26 22:25:36 +00:00
- "3.4"
- "3.5"
- "3.6"
- "nightly"
- "pypy3.3-5.2-alpha1"
env:
- TYPING_VERSION="<3.5.3"
- TYPING_VERSION=">=3.5.3"
matrix:
allow_failures:
- python: "nightly"
include:
- { python: "3.7", dist: xenial, sudo: true }
install:
2017-05-23 21:45:09 +00:00
- pip install pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1"
# mypy can't be installed on pypy
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi
script:
- py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then mypy injector.py ; fi