Initial code.

This commit is contained in:
Adi Roiban 2016-07-20 07:41:19 +01:00
parent 8a58bb3aca
commit ba7a38b48e
2 changed files with 8 additions and 2 deletions

10
tox.ini
View File

@ -13,7 +13,7 @@ toxworkdir=build/
envlist=
{py27,py33,py34,py35}-{tests,nomodules,coverage}-posix
py27-{tests,nomodules,coverage}-windows,
pyflakes,twistedchecker,apidocs,narrativedocs,topfile
pyflakes,twistedchecker,apidocs,narrativedocs,topfile,manifest-checker
[testenv]
changedir={envtmpdir}
@ -43,6 +43,7 @@ deps =
; Code quality checkers
pyflakes: pyflakes
{twistedchecker,txchecker}: twistedchecker>=0.6.0
manifest-checker: check-manifest
; Documentation
apidocs: pydoctor
@ -94,6 +95,8 @@ commands =
topfile: python {toxinidir}/bin/admin/check-topfile "{toxinidir}"
manifest-checker: check-manifest --ignore "docs/historic/*,admin*,bin/admin*,twisted/topfiles/*.Old"
[testenv:twistedchecker]
basepython=python2.7
changedir={toxinidir}
@ -105,6 +108,9 @@ basepython=python2.7
[testenv:topfile]
basepython=python2.7
changedir={toxinidir}
[testenv:manifest-checker]
basepython=python2.7
changedir={toxinidir}
[tox:travis]
; This section is used by tox-travis
@ -112,7 +118,7 @@ changedir={toxinidir}
;
; Each coverage run is followed by `codecov-publish` so that reports are
; published even on failures.
2.7 = py27-coverage-posix,codecov-publish,py27-nomodules-posix,topfile,narrativedocs,pyflakes,txchecker-travis
2.7 = py27-coverage-posix,codecov-publish,py27-nomodules-posix,topfile,narrativedocs,pyflakes,txchecker-travis,manifest-checker
3.3 = py33-coverage-posix,codecov-publish
3.4 = py34-coverage-posix,codecov-publish
3.5 = py35-coverage-posix,codecov-publish

View File