Skip to content

Commit 4260e19

Browse files
committed
CI: Rebalance Circle jobs
1 parent d961237 commit 4260e19

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.circleci/config.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,28 @@ jobs:
183183
- run: *_run_codecov_coverage
184184
- store_artifacts: *store_artifacts_kwds
185185
- store_test_results: *store_artifacts_kwds
186+
- run:
187+
name: Build docs (py36)
188+
no_output_timeout: 30m
189+
environment: *test_environment
190+
command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh
191+
- store_artifacts:
192+
path: /home/circleci/work/docs
193+
- run:
194+
name: Save Docker images to workspace if on master
195+
no_output_timeout: 60m
196+
command: |
197+
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
198+
docker save nipype/nipype:base \
199+
nipype/nipype:latest \
200+
nipype/nipype:py27 \
201+
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
202+
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
203+
fi
204+
- persist_to_workspace:
205+
root: /tmp
206+
paths:
207+
- docker
186208

187209
test_py3_fmri_fsl_spm:
188210
machine: *machine_kwds
@@ -200,11 +222,6 @@ jobs:
200222
- run: *_get_codecov
201223
- run: *_download_test_data
202224
- run: *prepare_working_directory
203-
- run:
204-
name: Run FSL FEEDS pipeline (py36)
205-
no_output_timeout: 40m
206-
environment: *test_environment
207-
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
208225
- run:
209226
name: Run FSL reuse pipeline (py36)
210227
no_output_timeout: 40m
@@ -252,7 +269,7 @@ jobs:
252269
- run: *_run_codecov_smoke
253270
- store_artifacts: *store_artifacts_kwds
254271

255-
test_fmri_spm_nested_multiproc:
272+
test_fmri_spm_nested_fsl_feeds:
256273
machine: *machine_kwds
257274
working_directory: /home/circleci/nipype
258275
steps:
@@ -279,30 +296,13 @@ jobs:
279296
no_output_timeout: 30m
280297
environment: *test_environment
281298
command: bash -ux /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
282-
- run: *_run_codecov_smoke
283-
- store_artifacts: *store_artifacts_kwds
284299
- run:
285-
name: Build docs (py36)
286-
no_output_timeout: 30m
300+
name: Run FSL FEEDS pipeline (py36)
301+
no_output_timeout: 40m
287302
environment: *test_environment
288-
command: bash -ux /home/circleci/nipype/.circleci/test_py3_docs.sh
289-
- store_artifacts:
290-
path: /home/circleci/work/docs
291-
- run:
292-
name: Save Docker images to workspace if on master
293-
no_output_timeout: 60m
294-
command: |
295-
if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
296-
docker save nipype/nipype:base \
297-
nipype/nipype:latest \
298-
nipype/nipype:py27 \
299-
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
300-
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
301-
fi
302-
- persist_to_workspace:
303-
root: /tmp
304-
paths:
305-
- docker
303+
command: bash -ux /home/circleci/nipype/.circleci/test_py3_fmri_fsl_feeds_linear_l1.sh
304+
- run: *_run_codecov_smoke
305+
- store_artifacts: *store_artifacts_kwds
306306

307307
deploy:
308308
docker:
@@ -350,7 +350,7 @@ workflows:
350350
- test_py3_fmri_spm_dartel_multiproc:
351351
requires:
352352
- compare_base_dockerfiles
353-
- test_fmri_spm_nested_multiproc:
353+
- test_fmri_spm_nested_fsl_feeds:
354354
requires:
355355
- compare_base_dockerfiles
356356
- deploy:
@@ -359,6 +359,6 @@ workflows:
359359
only: master
360360
requires:
361361
- test_pytest
362-
- test_fmri_spm_nested_multiproc
362+
- test_fmri_spm_nested_fsl_feeds
363363
- test_py3_fmri_fsl_spm
364364
- test_py3_fmri_spm_dartel_multiproc

0 commit comments

Comments
 (0)