File tree Expand file tree Collapse file tree 2 files changed +23
-13
lines changed Expand file tree Collapse file tree 2 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ jobs:
299
299
- run : *_run_codecov_smoke
300
300
- store_artifacts : *store_artifacts_kwds
301
301
302
- deploy :
302
+ deploy_dockerhub :
303
303
docker :
304
304
- image : docker:17.10.0-ce-git
305
305
steps :
@@ -330,6 +330,16 @@ jobs:
330
330
- /tmp/docker/cache/Dockerfile.base-pruned
331
331
key : dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
332
332
333
+ deploy_pypi :
334
+ machine : *machine_kwds
335
+ working_directory : /home/circleci/nipype
336
+ steps :
337
+ - run :
338
+ name : Deploy to PyPI
339
+ command : |
340
+ pip install twine future
341
+ python setup.py sdist bdist_wheel
342
+ twine upload dist/*
333
343
334
344
workflows :
335
345
version : 2
@@ -348,7 +358,7 @@ workflows:
348
358
- test_fmri_spm_nested_fsl_feeds :
349
359
requires :
350
360
- compare_base_dockerfiles
351
- - deploy :
361
+ - deploy_dockerhub :
352
362
filters :
353
363
branches :
354
364
only : master
@@ -357,3 +367,14 @@ workflows:
357
367
- test_fmri_spm_nested_fsl_feeds
358
368
- test_py3_fmri_fsl_spm
359
369
- test_py3_fmri_spm_dartel_multiproc
370
+ - deploy_pypi :
371
+ filters :
372
+ branches :
373
+ ignore : /.*/
374
+ tags :
375
+ only : /.*/
376
+ requires :
377
+ - test_pytest
378
+ - test_fmri_spm_nested_fsl_feeds
379
+ - test_py3_fmri_fsl_spm
380
+ - test_py3_fmri_spm_dartel_multiproc
Original file line number Diff line number Diff line change @@ -60,16 +60,5 @@ install:
60
60
script :
61
61
- py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype
62
62
63
- deploy :
64
- provider : pypi
65
- user : satra
66
- password :
67
- secure : OCO0FXb4f+pH4Uw7zWCIRp3qOJ1t7rhky4K8MjNU8tyVCJgd6O/Bv8GJgceS0LktPodlAAjB8SxAhTORPAQZ1D/44PJYy3NQIisvej1zjLpaA9TEGfl6W7MqhDpRyMHW+cnSi/n84SAmdr+Z4vOxScDHdwr13EPmGyOIlHMAGnE=
68
- on :
69
- tags : true
70
- repo : nipy/nipype
71
- branch : master
72
- distributions : " sdist bdist_wheel"
73
-
74
63
after_script :
75
64
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
You can’t perform that action at this time.
0 commit comments