Skip to content

Commit 81b6dc2

Browse files
committed
Merge remote-tracking branch 'origin/master' into ENH/nipypeconfdir
2 parents 0704f7e + 1725f51 commit 81b6dc2

Some content is hidden

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

95 files changed

+434
-14644
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ jobs:
339339
- run:
340340
name: Check pypi preconditions
341341
command: |
342+
pyenv local 3.6.5
342343
pip install --upgrade pip twine future wheel readme_renderer setuptools
343344
python setup.py sdist bdist_wheel
344345
twine check dist/*
@@ -353,7 +354,7 @@ jobs:
353354
- run:
354355
name: Validate Python 3 installation
355356
command: |
356-
pyenv local 3.5.2
357+
pyenv local 3.6.5
357358
pip install --upgrade pip
358359
pip install dist/nipype-*-py2.py3-none-any.whl
359360
# Futures should not install in Python 3
@@ -388,6 +389,7 @@ jobs:
388389
- run:
389390
name: Deploy to PyPI
390391
command: |
392+
pyenv local 3.6.5
391393
pip install --upgrade twine future wheel readme_renderer setuptools
392394
python setup.py check -r -s
393395
python setup.py sdist bdist_wheel

.et

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{ "bad_versions" : [ "1.2.1",
2+
"1.2.3"]
3+
}

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Horea Christian <[email protected]> <[email protected]>
7070
Isaac Schwabacher <[email protected]>
7171
Jakub Kaczmarzyk <[email protected]>
7272
James Kent <[email protected]>
73+
James Kent <[email protected]> Fred Mertz <[email protected]>
7374
Janosch Linkersdörfer <[email protected]>
7475
Jason Wong <[email protected]>
7576
@@ -80,6 +81,7 @@ Joerg Stadler <[email protected]> <[email protected]>
8081
8182
8283
John A. Lee <[email protected]>
84+
8385
Joke Durnez <[email protected]>
8486
8587
Junhao WEN <[email protected]>
@@ -151,6 +153,7 @@ Shariq Iqbal <[email protected]>
151153
152154
Shoshana Berleant <[email protected]> Shoshana Berleant <nope>
153155
156+
Shoshana Berleant <[email protected]> Ubuntu <[email protected]>
154157
Simon Rothmei <[email protected]>
155158
156159

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v2.0.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- repo: https://github.com/psf/black
12+
rev: 19.3b0
13+
hooks:
14+
- id: black

.travis.yml

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
- EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
1717
- PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
1818
- EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
19+
- CHECK_TYPE=test
1920
matrix:
2021
- INSTALL_DEB_DEPENDECIES=true
2122
NIPYPE_EXTRAS="doc,tests,nipy,profiler"
@@ -31,35 +32,12 @@ env:
3132
EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
3233
CI_SKIP_TEST=1
3334

34-
# Python 3.4 is only available on Trusty, so we need to duplicate the
35-
# env matrix specifically for it.
3635
matrix:
3736
include:
38-
- python: 3.4
39-
dist: trusty
37+
- python: 3.7
4038
env:
41-
- INSTALL_DEB_DEPENDECIES=true
42-
NIPYPE_EXTRAS="doc,tests,nipy,profiler"
43-
CI_SKIP_TEST=1
44-
- python: 3.4
45-
dist: trusty
46-
env:
47-
- INSTALL_DEB_DEPENDECIES=false
48-
NIPYPE_EXTRAS="doc,tests,profiler"
49-
CI_SKIP_TEST=1
50-
- python: 3.4
51-
dist: trusty
52-
env:
53-
- INSTALL_DEB_DEPENDECIES=true
54-
NIPYPE_EXTRAS="doc,tests,nipy,profiler,duecredit,ssh"
55-
CI_SKIP_TEST=1
56-
- python: 3.4
57-
dist: trusty
58-
env:
59-
- INSTALL_DEB_DEPENDECIES=true
60-
NIPYPE_EXTRAS="doc,tests,nipy,profiler"
61-
EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
62-
CI_SKIP_TEST=1
39+
- NIPYPE_EXTRAS=dev
40+
CHECK_TYPE=specs
6341

6442
addons:
6543
apt:
@@ -94,7 +72,16 @@ install:
9472
- travis_retry pip install pytest-xdist
9573

9674
script:
97-
- py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype -n auto
75+
- |
76+
if [ "$CHECK_TYPE" = "test" ]; then
77+
py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype -n auto
78+
fi
79+
- |
80+
if [ "$CHECK_TYPE" = "specs" ]; then
81+
make specs
82+
git add nipype
83+
test "$( git diff --cached | wc -l )" -eq 0 || ( git diff --cached && false )
84+
fi
9885
9986
after_script:
10087
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER

0 commit comments

Comments
 (0)