Upgrade Wagtail to 2.0 in requirements and tests
This commit is contained in:
6
setup.py
6
setup.py
@@ -2,9 +2,9 @@ import re
|
|||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
'wagtail>=1.10,<1.14',
|
'wagtail>=2.0,<2.1',
|
||||||
'user-agents>=1.0.1',
|
'user-agents>=1.0.1',
|
||||||
'wagtailfontawesome>=1.0.6',
|
'wagtailfontawesome>=1.1.3',
|
||||||
]
|
]
|
||||||
|
|
||||||
tests_require = [
|
tests_require = [
|
||||||
@@ -19,7 +19,7 @@ tests_require = [
|
|||||||
'pytest-sugar==0.7.1',
|
'pytest-sugar==0.7.1',
|
||||||
'pytest-mock==1.6.3',
|
'pytest-mock==1.6.3',
|
||||||
'pytest==3.1.0',
|
'pytest==3.1.0',
|
||||||
'wagtail_factories==0.3.0',
|
'wagtail_factories==1.1.0',
|
||||||
]
|
]
|
||||||
|
|
||||||
docs_require = [
|
docs_require = [
|
||||||
|
4
tox.ini
4
tox.ini
@@ -1,12 +1,12 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py{36}-django{111}-wagtail{113},lint
|
envlist = py{36}-django{111}-wagtail{20},lint
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = coverage run --parallel -m pytest {posargs}
|
commands = coverage run --parallel -m pytest {posargs}
|
||||||
extras = test
|
extras = test
|
||||||
deps =
|
deps =
|
||||||
django111: django>=1.11,<1.12
|
django111: django>=1.11,<1.12
|
||||||
wagtail19: wagtail>=1.13,<1.14
|
wagtail19: wagtail>=2.0,<2.1
|
||||||
|
|
||||||
[testenv:coverage-report]
|
[testenv:coverage-report]
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
|
Reference in New Issue
Block a user