Skip to content

Commit 04d0159

Browse files
authored
Merge pull request #2454 from effigies/fix/travis
CI/DOCKER: Hard code miniconda 4.3.31
2 parents 2738689 + 4260e19 commit 04d0159

File tree

3 files changed

+32
-31
lines changed

3 files changed

+32
-31
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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ before_install:
4040
fi;
4141

4242
# handle python operations separately to reduce timeouts
43-
- wget https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
43+
- wget https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.31-Linux-x86_64.sh
4444
-O /home/travis/.cache/conda.sh
4545
- bash ${HOME}/.cache/conda.sh -b -p ${HOME}/conda
4646
- export PATH=${HOME}/conda/bin:$PATH

docker/generate_dockerfiles.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function generate_main_dockerfile() {
8888
--user neuro \
8989
--miniconda env_name=neuro \
9090
activate=true \
91+
miniconda_version=4.3.31 \
9192
--copy docker/files/run_builddocs.sh docker/files/run_examples.sh \
9293
docker/files/run_pytests.sh nipype/external/fsl_imglob.py /usr/bin/ \
9394
--copy . /src/nipype \

0 commit comments

Comments
 (0)