File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,19 @@ jobs:
330330 - /tmp/docker/cache/Dockerfile.base-pruned
331331 key : dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
332332
333+ pypi_precheck :
334+ machine : *machine_kwds
335+ working_directory : /home/circleci/nipype
336+ steps :
337+ - checkout :
338+ path : /home/circleci/nipype
339+ - run :
340+ name : Check pypi preconditions
341+ command : |
342+ pip install twine future wheel readme_renderer
343+ python setup.py check -r -s
344+ python setup.py sdist bdist_wheel
345+
333346 deploy_pypi :
334347 machine : *machine_kwds
335348 working_directory : /home/circleci/nipype
@@ -339,7 +352,8 @@ jobs:
339352 - run :
340353 name : Deploy to PyPI
341354 command : |
342- pip install twine future wheel
355+ pip install twine future wheel readme_renderer
356+ python setup.py check -r -s
343357 python setup.py sdist bdist_wheel
344358 twine upload dist/*
345359
@@ -422,3 +436,7 @@ workflows:
422436 only : /rel\/.*/
423437 tags :
424438 only : /.*/
439+ - pypi_precheck :
440+ filters :
441+ branches :
442+ only : /rel\/.*/
You can’t perform that action at this time.
0 commit comments