Skip to content

Commit 0a44eb8

Browse files
committed
ci: run twine check
1 parent 42073ab commit 0a44eb8

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.circleci/config.yml

+20
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@ jobs:
4141
docker:
4242
- image: python:3.8
4343
<<: *test
44+
twine_check:
45+
docker:
46+
- image: python:3.8
47+
working_directory: ~/bencoder.pyx
48+
steps:
49+
- checkout
50+
- run:
51+
name: install dependencies
52+
command: |
53+
pip install -U pip setuptools wheel twine
54+
pip install -r dev-requirements.txt
55+
- run:
56+
name: build wheel
57+
command: |
58+
python setup.py bdist_wheel
59+
- run:
60+
name: twine check
61+
command: |
62+
twine check dist/*.whl
4463
pypy:
4564
docker:
4665
- image: pypy:2
@@ -83,3 +102,4 @@ workflows:
83102
- py38
84103
- pypy
85104
- pypy3
105+
- twine_check

README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A fast bencode implementation in Cython supports both Python2 & Python3 .
1212
.. image:: https://codecov.io/gh/whtsky/bencoder.pyx/branch/master/graph/badge.svg
1313
:alt: Codecov Coverage
1414
:target: https://codecov.io/gh/whtsky/bencoder.pyx
15+
1516
Install
1617
-------
1718

0 commit comments

Comments
 (0)