@@ -126,7 +126,7 @@ jobs:
126
126
paths :
127
127
- docker/*
128
128
129
- test :
129
+ test_pytest :
130
130
machine :
131
131
# Ubuntu 14.04 with Docker 17.10.0-ce
132
132
image : circleci/classic:201710-02
@@ -167,11 +167,48 @@ jobs:
167
167
bash /home/circleci/nipype/.circleci/pytests.sh
168
168
- store_artifacts :
169
169
path : /home/circleci/work/tests
170
- - persist_to_workspace :
171
- root : /tmp
172
- paths :
173
- - docker/*
174
170
171
+ test_py2_fmri_spm_nested_multiproc_l2 :
172
+ machine :
173
+ # Ubuntu 14.04 with Docker 17.10.0-ce
174
+ image : circleci/classic:201710-02
175
+ working_directory : /home/circleci/nipype
176
+ steps :
177
+ - attach_workspace :
178
+ at : /tmp
179
+ - run :
180
+ name : Load saved Docker images.
181
+ no_output_timeout : 60m
182
+ command : |
183
+ docker load < /tmp/docker/nipype-base-latest-py36-py27.tar.gz
184
+ - checkout :
185
+ path : /home/circleci/nipype
186
+ - run :
187
+ name : Download test data
188
+ no_output_timeout : 20m
189
+ working_directory : /home/circleci/examples
190
+ environment :
191
+ OSF_NIPYPE_URL : " https://files.osf.io/v1/resources/nefdp/providers/osfstorage"
192
+ command : |
193
+ export DATA_NIPYPE_TUTORIAL_URL="${OSF_NIPYPE_URL}/57f4739cb83f6901ed94bf21"
194
+ curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_TUTORIAL_URL" | tar xj
195
+
196
+ export DATA_NIPYPE_FSL_COURSE="${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
197
+ curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_COURSE" | tar xz
198
+
199
+ export DATA_NIPYPE_FSL_FEEDS="${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
200
+ curl -sSL --retry 5 --connect-timeout 15 "$DATA_NIPYPE_FSL_FEEDS" | tar xz
201
+ - run :
202
+ name : Run tests
203
+ no_output_timeout : 2h
204
+ environment :
205
+ WORKDIR : /home/circleci/work
206
+ command : |
207
+ mkdir -p "$WORKDIR"
208
+ chmod -R 777 "$WORKDIR"
209
+ bash /home/circleci/nipype/.circleci/test_py2_fmri_spm_nested_multiproc_l2.sh
210
+ - store_artifacts :
211
+ path : /home/circleci/work/tests
175
212
176
213
deploy :
177
214
docker :
@@ -213,12 +250,16 @@ workflows:
213
250
- build_images :
214
251
requires :
215
252
- compare_base_dockerfiles
216
- - test :
253
+ - test_pytest :
254
+ requires :
255
+ - build_images
256
+ - test_py2_fmri_spm_nested_multiproc_l2 :
217
257
requires :
218
258
- build_images
219
259
- deploy :
220
260
filters :
221
261
branches :
222
262
only : master
223
263
requires :
224
- - test
264
+ - test_pytest
265
+ - test_py2_fmri_spm_nested_multiproc_l2
0 commit comments