Skip to content

Commit 4f8a1c0

Browse files
committed
CI: Add CircleCI step for feedstock
1 parent 8e91e71 commit 4f8a1c0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,22 @@ jobs:
330330
- /tmp/docker/cache/Dockerfile.base-pruned
331331
key: dockerfile-cache-v1-{{ .Branch }}-{{ checksum "/tmp/docker/cache/Dockerfile.base-pruned" }}
332332

333+
update_feedstock:
334+
machine: *machine_kwds
335+
working_directory: /home/circleci/nipype
336+
steps:
337+
- checkout:
338+
path: /home/circleci/nipype
339+
- run:
340+
name: Install hub
341+
command: |
342+
curl -sSL https://github.com/github/hub/releases/download/v2.2.9/hub-linux-amd64-2.2.9.tgz | \
343+
tar zxv -C /tmp
344+
sudo /tmp/hub-linux-amd64-2.2.9/install
345+
- run:
346+
name: Update feedstock
347+
command: /home/circleci/nipype/tools/feedstock.sh
348+
333349

334350
workflows:
335351
version: 2
@@ -357,3 +373,9 @@ workflows:
357373
- test_fmri_spm_nested_fsl_feeds
358374
- test_py3_fmri_fsl_spm
359375
- test_py3_fmri_spm_dartel_multiproc
376+
- update_feedstock:
377+
filters:
378+
branches:
379+
only: /rel\/.*/
380+
tags:
381+
only: /.*/

0 commit comments

Comments
 (0)