Skip to content

Commit 471f552

Browse files
committed
Merge branch 'master' into rel/1.5.0
2 parents af202a7 + 460f616 commit 471f552

File tree

22 files changed

+763
-374
lines changed

22 files changed

+763
-374
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: [status]
2+
jobs:
3+
circleci_artifacts_redirector_job:
4+
runs-on: ubuntu-latest
5+
name: Run CircleCI artifacts redirector
6+
steps:
7+
- name: GitHub Action step
8+
uses: larsoner/circleci-artifacts-redirector-action@master
9+
with:
10+
repo-token: ${{ secrets.GITHUB_TOKEN }}
11+
artifact-path: 0/tmp/src/nipype/doc/_build/html/index.html
12+
circleci-jobs: build_docs

.readthedocs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Build documentation in the docs/ directory with Sphinx
8+
sphinx:
9+
configuration: doc/conf.py
10+
11+
# Optionally build your docs in additional formats such as PDF and ePub
12+
formats:
13+
- htmlzip
14+
15+
# Optionally set the version of Python and requirements required to build your docs
16+
python:
17+
version: 3.7
18+
install:
19+
- requirements: doc/requirements.txt
20+
- method: pip
21+
path: .
22+
extra_requirements:
23+
- doc

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ language: python
66
python:
77
- 3.6
88
- 3.7
9+
- 3.8
910

1011
env:
1112
global:

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ zipdoc: html
1111

1212
sdist: zipdoc
1313
@echo "Building source distribution..."
14-
python setup.py sdist
14+
$(PYTHON) setup.py sdist
1515
@echo "Done building source distribution."
1616
# XXX copy documentation.zip to dist directory.
1717

1818
egg: zipdoc
1919
@echo "Building egg..."
20-
python setup.py bdist_egg
20+
$(PYTHON) setup.py bdist_egg
2121
@echo "Done building egg."
2222

2323
upload_to_pypi: zipdoc
2424
@echo "Uploading to PyPi..."
25-
python setup.py sdist --formats=zip,gztar upload
25+
$(PYTHON) setup.py sdist --formats=zip,gztar upload
2626

2727
trailing-spaces:
2828
find . -name "*[.py|.rst]" -type f | xargs perl -pi -e 's/[ \t]*$$//'
@@ -56,10 +56,10 @@ inplace:
5656
$(PYTHON) setup.py build_ext -i
5757

5858
test-code: in
59-
py.test --doctest-modules nipype
59+
$(PYTHON) -m pytest --doctest-modules nipype
6060

6161
test-coverage: clean-tests in
62-
py.test --doctest-modules --cov-config .coveragerc --cov=nipype nipype
62+
$(PYTHON) -m pytest --doctest-modules --cov-config .coveragerc --cov=nipype nipype
6363

6464
test: tests # just another name
6565
tests: clean test-code
@@ -70,7 +70,7 @@ html:
7070

7171
specs:
7272
@echo "Checking specs and autogenerating spec tests"
73-
env PYTHONPATH=".:$(PYTHONPATH)" python tools/checkspecs.py
73+
env PYTHONPATH=".:$(PYTHONPATH)" $(PYTHON) tools/checkspecs.py
7474

7575
check: check-before-commit # just a shortcut
7676
check-before-commit: specs trailing-spaces html test

0 commit comments

Comments
 (0)