From 0a678beb7ecd1ef229876200c5ba6ff67bccce5c Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Tue, 25 Jun 2019 20:04:34 +0930
Subject: [PATCH] CI: Twine has a check feature

---
 .ci/build_pypi_dist.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/build_pypi_dist.sh b/.ci/build_pypi_dist.sh
index 99410dbe6..bb99538ad 100644
--- a/.ci/build_pypi_dist.sh
+++ b/.ci/build_pypi_dist.sh
@@ -2,9 +2,10 @@
 
 set -e
 
-pip install wheel
+pip install wheel setuptools twine
 python setup.py sdist
 python setup.py bdist_wheel
+twine check dist/*
 
 # do a test install from both source and wheel
 sdist=`find dist -maxdepth 1 -name *.tar.gz`
-- 
GitLab