2012-09-07 16:32:52 +04:00
|
|
|
language: python
|
2017-11-04 02:08:34 +03:00
|
|
|
cache: pip
|
2020-05-05 16:05:29 +03:00
|
|
|
dist: bionic
|
2015-04-05 05:07:11 +03:00
|
|
|
matrix:
|
2016-06-01 17:53:58 +03:00
|
|
|
fast_finish: true
|
2017-01-16 16:51:07 +03:00
|
|
|
include:
|
2018-09-17 11:41:55 +03:00
|
|
|
|
2019-01-31 18:50:36 +03:00
|
|
|
- { python: "3.5", env: DJANGO=2.2 }
|
2018-09-17 11:41:55 +03:00
|
|
|
|
2019-01-31 18:50:36 +03:00
|
|
|
- { python: "3.6", env: DJANGO=2.2 }
|
2019-11-21 14:55:53 +03:00
|
|
|
- { python: "3.6", env: DJANGO=3.0 }
|
2018-09-17 11:41:55 +03:00
|
|
|
- { python: "3.6", env: DJANGO=master }
|
2018-09-11 07:44:23 +03:00
|
|
|
|
2019-01-31 18:50:36 +03:00
|
|
|
- { python: "3.7", env: DJANGO=2.2 }
|
2019-11-21 14:55:53 +03:00
|
|
|
- { python: "3.7", env: DJANGO=3.0 }
|
2018-11-21 10:45:04 +03:00
|
|
|
- { python: "3.7", env: DJANGO=master }
|
2018-09-11 07:44:23 +03:00
|
|
|
|
2019-11-21 14:55:53 +03:00
|
|
|
- { python: "3.8", env: DJANGO=3.0 }
|
2019-10-23 00:39:01 +03:00
|
|
|
- { python: "3.8", env: DJANGO=master }
|
2017-12-14 13:48:03 +03:00
|
|
|
|
2019-10-23 00:39:01 +03:00
|
|
|
- { python: "3.8", env: TOXENV=base }
|
|
|
|
- { python: "3.8", env: TOXENV=lint }
|
|
|
|
- { python: "3.8", env: TOXENV=docs }
|
|
|
|
|
|
|
|
- python: "3.8"
|
2017-12-14 13:48:03 +03:00
|
|
|
env: TOXENV=dist
|
|
|
|
script:
|
|
|
|
- python setup.py bdist_wheel
|
2018-08-25 01:57:45 +03:00
|
|
|
- rm -r djangorestframework.egg-info # see #6139
|
2017-12-14 13:48:03 +03:00
|
|
|
- tox --installpkg ./dist/djangorestframework-*.whl
|
|
|
|
- tox # test sdist
|
|
|
|
|
2016-06-23 16:12:51 +03:00
|
|
|
allow_failures:
|
2017-01-16 16:51:07 +03:00
|
|
|
- env: DJANGO=master
|
2012-09-07 16:32:52 +04:00
|
|
|
|
2014-09-06 04:56:25 +04:00
|
|
|
install:
|
2018-08-25 01:57:45 +03:00
|
|
|
- pip install tox tox-venv tox-travis
|
2014-09-06 04:56:25 +04:00
|
|
|
|
2012-09-07 16:32:52 +04:00
|
|
|
script:
|
2017-01-16 16:51:07 +03:00
|
|
|
- tox
|
2015-07-30 06:53:57 +03:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- pip install codecov
|
2017-01-16 16:51:07 +03:00
|
|
|
- codecov -e TOXENV,DJANGO
|
2016-06-01 17:53:58 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|