forked from mirror/django-mailbox
* Add tests docs to CI and fix docs warning * Switch to storing environment variables in travis outside of secure vars. * Force a rebuild. * Force a rebuild. * Run integration tests just once per test run. * Minor updates. * Nevermind; this test class covers more than just integration tests. * Attempting to fix docs build via https://stackoverflow.com/questions/61711710/runtimeerror-class-not-set-defining-abstractbaseuser-as-class-django-co\#comment112739057_63045563 * Minor docs fix. Co-authored-by: Adam Coddington <me@adamcoddington.net>
46 lines
1 KiB
YAML
46 lines
1 KiB
YAML
version: ~> 1.0
|
|
os: linux
|
|
language: python
|
|
|
|
jobs:
|
|
- env: TOX_ENV=docs
|
|
python: 3.8
|
|
# sort by django version, next to by python version
|
|
# Django 1.11 support all supported Python interpreter
|
|
- env: TOX_ENV=django111-py35
|
|
python: 3.5
|
|
- env: TOX_ENV=django111-py36
|
|
python: 3.6
|
|
# Django 2.0 support 3.5, 3.6
|
|
- env: TOX_ENV=django20-py35
|
|
python: 3.5
|
|
- env: TOX_ENV=django20-py36
|
|
python: 3.6
|
|
|
|
# Django 2.1 support Python 3.5, 3.6, 3.7
|
|
- env: TOX_ENV=django21-py35
|
|
python: 3.5
|
|
- env: TOX_ENV=django21-py36
|
|
python: 3.6
|
|
- env: TOX_ENV=django21-py37
|
|
python: 3.7
|
|
# Django 2.2 support Python 3.5, 3.6, 3.7
|
|
- env: TOX_ENV=django22-py35
|
|
python: 3.5
|
|
- env: TOX_ENV=django22-py36
|
|
python: 3.6
|
|
- env: TOX_ENV=django22-py37
|
|
python: 3.7
|
|
# Django 3.0 (beta) support Python 3.6, 3.7, 3.8
|
|
- env: TOX_ENV=django30-py36
|
|
python: 3.6
|
|
- env: TOX_ENV=django30-py37
|
|
python: 3.7
|
|
- env: TOX_ENV=django30-py38 INTEGRATION=1
|
|
python: 3.8
|
|
|
|
install:
|
|
- pip install tox
|
|
|
|
script:
|
|
- tox -e $TOX_ENV
|