Skip to content

Commit 7dd3b37

Browse files
authored
Merge pull request #3146 from effigies/bp/1.4.x/cherrypicking
Omnibus backport for 1.4.x
2 parents a5c7108 + 4953418 commit 7dd3b37

File tree

162 files changed

+3818
-4961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+3818
-4961
lines changed

Diff for: .circleci/build_docs.sh

-3
This file was deleted.

Diff for: .circleci/config.yml

+52-8
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ _run_codecov_smoke: &_run_codecov_smoke
9999
100100
version: 2
101101
jobs:
102-
103102
compare_base_dockerfiles:
104103
docker:
105104
- image: docker:17.10.0-ce-git
@@ -158,13 +157,6 @@ jobs:
158157
- run: *_run_codecov_coverage
159158
- store_artifacts: *store_artifacts_kwds
160159
- store_test_results: *store_artifacts_kwds
161-
- run:
162-
name: Build docs
163-
no_output_timeout: 30m
164-
environment: *test_environment
165-
command: bash -ux /home/circleci/nipype/.circleci/build_docs.sh
166-
- store_artifacts:
167-
path: /home/circleci/work/docs
168160
- run:
169161
name: Save Docker images to workspace if on master
170162
no_output_timeout: 60m
@@ -394,10 +386,44 @@ jobs:
394386
ssh-add ~/.ssh/id_ed25519
395387
/home/circleci/nipype/tools/feedstock.sh
396388
389+
build_docs:
390+
docker:
391+
- image: python:3.7.4
392+
working_directory: /tmp/src/nipype
393+
environment:
394+
- FSLOUTPUTTYPE: 'NIFTI'
395+
steps:
396+
- checkout
397+
- run:
398+
name: Check Python version and upgrade pip
399+
command: |
400+
python --version
401+
python -m pip install -U pip
402+
- run:
403+
name: Install graphviz
404+
command: |
405+
apt-get update
406+
apt-get install -y graphviz
407+
- run:
408+
name: Install Requirements (may contain pinned versions)
409+
command: python -m pip install -r doc/requirements.txt
410+
- run:
411+
name: Install NiPype
412+
command: python -m pip install ".[doc]"
413+
- run:
414+
name: Build documentation
415+
command: make -C doc html
416+
- store_artifacts:
417+
path: /tmp/src/nipype/doc/_build/html
418+
397419
workflows:
398420
version: 2
399421
build_test_deploy:
400422
jobs:
423+
- build_docs:
424+
filters:
425+
tags:
426+
only: /.*/
401427
- pypi_precheck:
402428
filters:
403429
branches:
@@ -406,21 +432,39 @@ workflows:
406432
only: /.*/
407433
- compare_base_dockerfiles:
408434
filters:
435+
branches:
436+
ignore:
437+
- /docs?\/.*/
409438
tags:
410439
only: /.*/
411440
- test_pytest:
412441
filters:
442+
branches:
443+
ignore:
444+
- /docs?\/.*/
413445
tags:
414446
only: /.*/
415447
requires:
416448
- compare_base_dockerfiles
417449
- test_fmri_fsl_spm:
450+
filters:
451+
branches:
452+
ignore:
453+
- /docs?\/.*/
418454
requires:
419455
- compare_base_dockerfiles
420456
- test_fmri_spm_dartel_multiproc:
457+
filters:
458+
branches:
459+
ignore:
460+
- /docs?\/.*/
421461
requires:
422462
- compare_base_dockerfiles
423463
- test_fmri_spm_nested_fsl_feeds:
464+
filters:
465+
branches:
466+
ignore:
467+
- /docs?\/.*/
424468
requires:
425469
- compare_base_dockerfiles
426470
- deploy_dockerhub:

Diff for: .dockerignore

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ src/
2222
.git
2323

2424
# other
25-
docs/**/*
26-
docs/
25+
doc/**/*
26+
doc/
2727
.cache/
2828
.circle/**/*
2929
.circle/
3030
circle.yml
31-
rtd_requirements.txt
3231
Vagrantfile
3332
.travis.yml
3433
.mailmap

Diff for: .mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Gio Piantoni <[email protected]>
6767
Guillaume Flandin <[email protected]>
6868
6969
70+
Hrvoje Stojic <[email protected]>
7071
Isaac Schwabacher <[email protected]>
7172
Jakub Kaczmarzyk <[email protected]>
7273
James Kent <[email protected]>

Diff for: .zenodo.json

+5
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,11 @@
514514
{
515515
"name": "Blair, Ross"
516516
},
517+
{
518+
"affiliation": "Max Planck UCL Centre for Computational Psychiatry and Ageing Research, University College London",
519+
"name": "Stojic, Hrvoje",
520+
"orcid": "0000-0002-9699-9052"
521+
},
517522
{
518523
"affiliation": "The University of Texas at Austin",
519524
"name": "Floren, Andrew",

Diff for: MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include MANIFEST.in
44
include README
55
include THANKS
66
include Makefile
7-
include build_docs.py
87
include setup_egg.py
98
include doc/documentation.zip
109
include nipype/COMMIT_INFO.txt

Diff for: build_docs.py

-197
This file was deleted.

0 commit comments

Comments
 (0)