Added a new packaging test (#4899)

* Added a new packaging test

* Fixed packaging job

* typo

* more fixes

* one more
This commit is contained in:
Alex Gaynor 2019-05-27 14:08:07 -04:00 committed by Paul Kehrer
parent 463348bc71
commit 828581d6ea
3 changed files with 18 additions and 2 deletions

View file

@ -117,6 +117,8 @@ matrix:
if: (branch = master AND type != pull_request) OR commit_message =~ /linkcheck/
- python: 3.4
env: TOXENV=pep8
- python: 3.7
env: TOXENV=packaging
- python: 2.7
env: DOWNSTREAM=pyopenssl

View file

@ -4,6 +4,7 @@ include CONTRIBUTING.rst
include LICENSE
include LICENSE.APACHE
include LICENSE.BSD
include LICENSE.PSF
include README.rst
include pyproject.toml
@ -12,4 +13,11 @@ recursive-include docs *
recursive-include src/_cffi_src *.py *.c *.h
prune docs/_build
recursive-include tests *.py
exclude vectors
recursive-exclude vectors *
exclude azure-pipelines.yml .azure-pipelines .travis.yml .travis
recursive-exclude .azure-pipelines *
recursive-exclude .travis *
exclude release.py .coveragerc codecov.yml dev-requirements.txt rtd-requirements.txt tox.ini

10
tox.ini
View file

@ -1,6 +1,6 @@
[tox]
minversion = 2.4
envlist = py27,pypy,py34,py35,py36,py37,docs,pep8,py3pep8
envlist = py27,pypy,py34,py35,py36,py37,docs,pep8,packaging
[testenv]
extras =
@ -60,7 +60,7 @@ commands =
[testenv:pep8]
basepython = python3
extras =
pep8test
pep8test
commands =
flake8 .
@ -71,6 +71,12 @@ deps =
commands =
pytest --capture=no --strict --random {posargs}
[testenv:packaging]
deps =
check-manifest
commands =
check-manifest
[flake8]
ignore = W504
exclude = .tox,*.egg,.git,_build,.hypothesis