diff --git a/.circleci/config.yml b/.circleci/config.yml index cba8225..e687c0f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,6 +41,25 @@ jobs: docker: - image: python:3.8 <<: *test + twine_check: + docker: + - image: python:3.8 + working_directory: ~/bencoder.pyx + steps: + - checkout + - run: + name: install dependencies + command: | + pip install -U pip setuptools wheel twine + pip install -r dev-requirements.txt + - run: + name: build wheel + command: | + python setup.py bdist_wheel + - run: + name: twine check + command: | + twine check dist/*.whl pypy: docker: - image: pypy:2 @@ -83,3 +102,4 @@ workflows: - py38 - pypy - pypy3 + - twine_check diff --git a/README.rst b/README.rst index 99014f4..22ab144 100644 --- a/README.rst +++ b/README.rst @@ -12,6 +12,7 @@ A fast bencode implementation in Cython supports both Python2 & Python3 . .. image:: https://codecov.io/gh/whtsky/bencoder.pyx/branch/master/graph/badge.svg :alt: Codecov Coverage :target: https://codecov.io/gh/whtsky/bencoder.pyx + Install -------