Drop Django <1.11, add 2.2, 3.0; Drop Python 3.5, add 3.7, 3.8

This commit is contained in:
Ben Spaulding 2020-02-06 11:23:22 -07:00 коммит произвёл Paul McLanahan
Родитель 446d138b9e
Коммит 48c872bbfd
3 изменённых файлов: 14 добавлений и 9 удалений

Просмотреть файл

@ -3,6 +3,8 @@ language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
install: pip install tox-travis
script: tox
deploy:
@ -13,6 +15,6 @@ deploy:
on:
tags: true
repo: mozilla/commonware
python: "3.6"
python: "3.7"
password:
secure: rfmIIYgx4otFHj3TxL/naC91zk1wRgY1Oh4NXH/BbHmLUmA5VME+75uvPXd4flsr4gqCERClZP52b0gIm3wxu2u7PK4HXwQfIH1Wg2SgLSiyV56TpEWdunk+I7gUpkacNwINdPg/RJJtkFn5WpUtXX8PDd2GjHLfKnXSZDCdmFU=

Просмотреть файл

@ -20,14 +20,18 @@ setup(
'Environment :: Web Environment :: Mozilla',
'Intended Audience :: Developers',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)

13
tox.ini
Просмотреть файл

@ -1,19 +1,18 @@
[tox]
envlist =
py27-django{18}-extra,
py36-django{18,19,110,111}-extra,
py36-flake8,
py27-django{111}-extra,
py3{6,7,8}-django{111,22,30}-extra,
py37-flake8,
[testenv]
commands = fab test
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<1.12
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
extra: -rrequirements.txt
[testenv:py36-flake8]
[testenv:py37-flake8]
commands = flake8
deps = flake8