Merge pull request #3145 from NotAFile/py3-tests

Add py3 tests to tox with folders that work
This commit is contained in:
Richard van der Hoff 2018-04-30 00:53:05 +01:00 committed by GitHub
commit ac5f2f4d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = packaging, py27, pep8 envlist = packaging, py27, py36, pep8
[testenv] [testenv]
deps = deps =
@ -46,6 +46,14 @@ commands =
# ) # )
usedevelop=true usedevelop=true
[testenv:py36]
usedevelop=true
commands =
/usr/bin/find "{toxinidir}" -name '*.pyc' -delete
coverage run {env:COVERAGE_OPTS:} --source="{toxinidir}/synapse" \
"{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests/metrics} {env:TOXSUFFIX:}
{env:DUMP_COVERAGE_COMMAND:coverage report -m}
[testenv:packaging] [testenv:packaging]
deps = deps =
check-manifest check-manifest