django-rest-framework/.travis.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

2012-09-07 16:32:52 +04:00
language: python
cache: pip
2012-09-07 16:32:52 +04:00
sudo: false
2015-04-05 05:07:11 +03:00
matrix:
fast_finish: true
include:
- { python: "2.7", env: DJANGO=1.11 }
- { python: "3.4", env: DJANGO=1.11 }
- { python: "3.4", env: DJANGO=2.0 }
- { python: "3.5", env: DJANGO=1.11 }
- { python: "3.5", env: DJANGO=2.0 }
- { python: "3.5", env: DJANGO=2.1 }
- { python: "3.5", env: DJANGO=master }
- { python: "3.6", env: DJANGO=1.11 }
- { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=2.1 }
- { python: "3.6", env: DJANGO=master }
2018-09-11 07:44:23 +03:00
- { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true }
- { python: "3.6", env: TOXENV=base }
- { python: "2.7", env: TOXENV=lint }
- { python: "2.7", env: TOXENV=docs }
2017-12-14 13:48:03 +03:00
- python: "3.6"
env: TOXENV=dist
script:
- python setup.py bdist_wheel
- rm -r djangorestframework.egg-info # see #6139
2017-12-14 13:48:03 +03:00
- tox --installpkg ./dist/djangorestframework-*.whl
- tox # test sdist
allow_failures:
- env: DJANGO=master
2012-09-07 16:32:52 +04:00
2014-09-06 04:56:25 +04:00
install:
- pip install tox tox-venv tox-travis
2014-09-06 04:56:25 +04:00
2012-09-07 16:32:52 +04:00
script:
- tox
2015-07-30 06:53:57 +03:00
after_success:
- pip install codecov
- codecov -e TOXENV,DJANGO
notifications:
email: false