summaryrefslogtreecommitdiff
path: root/.azure-pipelines
diff options
context:
space:
mode:
authorPradyun Gedam <pradyunsg@gmail.com>2019-09-24 18:34:25 +0530
committerPradyun Gedam <pradyunsg@gmail.com>2019-09-24 18:34:25 +0530
commit8296b1a17e96428b35797b107d23e67d7385f791 (patch)
tree2e1fe1316845d186b38cc29aa80b4224b81de2d6 /.azure-pipelines
parent9a362abd72b1b5fc9000918dbfb55101cee36b6b (diff)
downloadpip-8296b1a17e96428b35797b107d23e67d7385f791.tar.gz
Do twine check in Azure Pipeline's Package job
Diffstat (limited to '.azure-pipelines')
-rw-r--r--.azure-pipelines/jobs/package.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.azure-pipelines/jobs/package.yml b/.azure-pipelines/jobs/package.yml
index 2070bc5d4..ed885d8ef 100644
--- a/.azure-pipelines/jobs/package.yml
+++ b/.azure-pipelines/jobs/package.yml
@@ -15,7 +15,7 @@ jobs:
inputs:
versionSpec: '3'
- - bash: pip install tox nox setuptools wheel
+ - bash: pip install twine nox setuptools wheel
displayName: Install dependencies
- bash: nox -s generate_authors
@@ -30,6 +30,9 @@ jobs:
- bash: python setup.py sdist bdist_wheel
displayName: Create sdist and wheel
+ - bash: twine check dist/*
+ displayName: Check distributions with twine
+
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: dist'
inputs: