From e42ba531963c35a89818bf57f08b0ab87c04e8bf Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 27 Jun 2017 23:11:44 -0500 Subject: add a manifest and a tox step to check it --- tox.ini | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 242decfc4..61c39369d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] envlist = - py27,py34,py35,py36,py37,pypy, - docs,pep8, + py27,py34,py35,py36,pypy, + docs,pep8,sdist, {py2,py3}-cover,coverage, -skip_missing_interpreters = True [testenv] # Most of these are defaults but if you specify any you can't fall back @@ -59,6 +58,15 @@ commands = deps = flake8 +[testenv:sdist] +basepython = python3.5 +commands = + python setup.py check -r -s -m + check-manifest +deps = + readme_renderer + check-manifest + [testenv:docs] basepython = python3.5 whitelist_externals = make -- cgit v1.2.3 From 2ec353522bffb4e686231d6b0b380f86ab901a54 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 29 Jun 2017 00:15:58 -0500 Subject: combine tox steps into lint --- tox.ini | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 61c39369d..39132d9ff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = + lint, py27,py34,py35,py36,pypy, - docs,pep8,sdist, - {py2,py3}-cover,coverage, + docs,{py2,py3}-cover,coverage, [testenv] # Most of these are defaults but if you specify any you can't fall back @@ -51,19 +51,14 @@ commands = python pyramid/scaffolds/tests.py deps = virtualenv -[testenv:pep8] +[testenv:lint] basepython = python3.5 commands = flake8 pyramid/ -deps = - flake8 - -[testenv:sdist] -basepython = python3.5 -commands = python setup.py check -r -s -m check-manifest deps = + flake8 readme_renderer check-manifest -- cgit v1.2.3 From efb35f1e6ea296499274ed8fc5c2d023f8ed71e6 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Thu, 29 Jun 2017 00:37:07 -0500 Subject: avoid installing the sdist in certain tox environments --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 39132d9ff..4e1b4f728 100644 --- a/tox.ini +++ b/tox.ini @@ -52,6 +52,7 @@ commands = deps = virtualenv [testenv:lint] +skip_install = True basepython = python3.5 commands = flake8 pyramid/ @@ -63,6 +64,7 @@ deps = check-manifest [testenv:docs] +skip_install = True basepython = python3.5 whitelist_externals = make commands = @@ -70,6 +72,7 @@ commands = make -C docs doctest html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E" [testenv:pdf] +skip_install = True basepython = python3.5 whitelist_externals = make commands = @@ -96,6 +99,7 @@ setenv = COVERAGE_FILE=.coverage.py3 [testenv:coverage] +skip_install = True basepython = python3.5 commands = coverage erase -- cgit v1.2.3