Rename Django's dev branch to main.

More information: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Refs: https://github.com/django/django/pull/14048
This commit is contained in:
Jannis Leidel 2021-03-09 13:33:12 +01:00 committed by Aleksi Häkli
parent b4a5f886d4
commit e762d154ed

12
tox.ini
View file

@ -1,7 +1,7 @@
[tox]
envlist =
# list of supported Django/Python versioons:
py{36,37,38,39,py3}-dj{22,30,31,master}
py{36,37,38,39,py3}-dj{22,30,31,main}
py38-{lint,docs}
[gh-actions]
@ -18,16 +18,16 @@ deps =
dj22: django>=2.2,<2.3
dj30: django>=3.0,<3.1
dj31: django>=3.1,<3.2
djmaster: https://github.com/django/django/archive/master.tar.gz
djmain: https://github.com/django/django/archive/main.tar.gz
usedevelop = True
commands =
{envbindir}/coverage run --source=defender {envbindir}/django-admin test defender --settings=defender.ci_settings
{envbindir}/coverage report -m
{envbindir}/coverage xml
[testenv:py{36,37,38,39,py3}-dj{master}]
ignore_errors = true
ignore_outcome = true
ignore_outcome =
djmain: True
ignore_errors =
djmain: True
[testenv:py38-docs]
basepython = python3.8