mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 05:24:00 +03:00
739d3892c5
The coverage report needs to be explicitly created with arguments passed in to pytest-cov
35 lines
676 B
YAML
35 lines
676 B
YAML
language: python
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
- TOX_ENV=py27-lint
|
|
- TOX_ENV=py27-docs
|
|
- TOX_ENV=py35-django19
|
|
- TOX_ENV=py34-django19
|
|
- TOX_ENV=py27-django19
|
|
- TOX_ENV=py34-django18
|
|
- TOX_ENV=py33-django18
|
|
- TOX_ENV=py32-django18
|
|
- TOX_ENV=py27-django18
|
|
- TOX_ENV=py34-django17
|
|
- TOX_ENV=py33-django17
|
|
- TOX_ENV=py32-django17
|
|
- TOX_ENV=py27-django17
|
|
|
|
matrix:
|
|
# Python 3.5 not yet available on travis, watch this to see when it is.
|
|
fast_finish: true
|
|
allow_failures:
|
|
- env: TOX_ENV=py35-django19
|
|
|
|
install:
|
|
- pip install tox
|
|
|
|
script:
|
|
- tox -e $TOX_ENV
|
|
|
|
after_success:
|
|
- pip install codecov
|
|
- codecov -e TOX_ENV
|