File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 34
34
pytest3: pytest>=3.0,<4.0
35
35
setenv =
36
36
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
37
+
37
38
passenv = PYTEST_ADDOPTS
38
39
usedevelop = True
39
40
commands =
@@ -44,3 +45,39 @@ commands =
44
45
postgres: pytest --ds =pytest_django_test.settings_postgres --strict -r fEsxXw {posargs:tests}
45
46
sqlite: pytest --ds =pytest_django_test.settings_sqlite --strict -r fEsxXw {posargs:tests}
46
47
sqlite_file: pytest --ds =pytest_django_test.settings_sqlite_file --strict -r fEsxXw {posargs:tests}
48
+
49
+ [testenv:doc8]
50
+ basepython = python3.6
51
+ skip_install = true
52
+ deps =
53
+ sphinx
54
+ doc8
55
+ commands =
56
+ doc8 docs/
57
+
58
+ [testenv:readme]
59
+ basepython = python3.5
60
+ deps =
61
+ readme_renderer
62
+ commands =
63
+ python setup.py check -r -s
64
+
65
+ # Release tooling
66
+ [testenv:build]
67
+ basepython = python3.6
68
+ skip_install = true
69
+ deps =
70
+ wheel
71
+ setuptools
72
+ commands =
73
+ python setup.py -q sdist bdist_wheel
74
+
75
+ [testenv:release]
76
+ basepython = python3.5
77
+ skip_install = true
78
+ deps =
79
+ {[testenv:build]deps}
80
+ twine >= 1.9.1
81
+ commands =
82
+ {[testenv:build]commands}
83
+ twine upload -s --skip-existing dist/*
You can’t perform that action at this time.
0 commit comments