update development resources

fix tox to test examples again
add detox tox env for faster testing
clean up makefile, add tox target
add extra group for installing dev requirements
clean up contributing doc, build with docs
expand issue template
add pull request template
This commit is contained in:
David Lord 2017-05-28 10:26:07 -07:00
parent a37f675ccb
commit 3c7625e8c0
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
8 changed files with 188 additions and 116 deletions

17
tox.ini
View file

@ -1,7 +1,7 @@
[tox]
envlist =
py{36,35,34,33,27,26,py}-release
py{36,27,py}-release-simplejson
py{36,35,34,33,27,26,py}
py{36,27,py}-simplejson
py{36,33,27,26,py}-devel
py{36,33,27,26,py}-lowest
docs-html
@ -35,12 +35,10 @@ commands =
pip install -e examples/patterns/largerapp -q
# pytest-cov doesn't seem to play nice with -p
coverage run -p -m pytest
coverage run -p -m pytest tests examples
[testenv:docs-html]
deps =
sphinx
flask-sphinx-themes
deps = sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:docs-linkcheck]
@ -63,3 +61,10 @@ commands =
coverage combine
coverage report
codecov
[testenv:detox]
skip_install = true
deps = detox
commands =
detox -e py{36,35,34,33,27,26,py},py{36,27,py}-simplejson,py{36,33,27,26,py}-devel,py{36,33,27,26,py}-lowest,docs-html
tox -e coverage-report