Skip to content

Commit 097cf75

Browse files
committed
Merge remote-tracking branch 'origin/master' into FIX/readconf
2 parents 3e49109 + 1725f51 commit 097cf75

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 <horea.christ@yandex.com> <h.chr@mail.ru>
7070
Isaac Schwabacher <ischwabacher@wisc.edu>
7171
Jakub Kaczmarzyk <jakubk@mit.edu>
7272
James Kent <james-kent@uiowa.edu>
73+
James Kent <james-kent@uiowa.edu> Fred Mertz <mertzf@bargle.argle>
7374
Janosch Linkersdörfer <linkersdoerfer@gmail.com>
7475
Jason Wong <jf126dolphin@gmail.com>
7576
Jason Wong <jf126dolphin@gmail.com> <jasonwong73@ucla.edu>
@@ -80,6 +81,7 @@ Joerg Stadler <Joerg.Stadler@lin-magdeburg.de> <joerg.stadler@lin-magdeburg.de>
8081
Joerg Stadler <Joerg.Stadler@lin-magdeburg.de> <jstadler@ilin-magdeburg.de>
8182
Joerg Stadler <Joerg.Stadler@lin-magdeburg.de> <Stadler@lin-magdeburg.de>
8283
John A. Lee <johnleenimh@gmail.com>
84+
John A. Lee <johnleenimh@gmail.com> <leej3@users.noreply.github.com>
8385
Joke Durnez <joke.durnez@gmail.com>
8486
Josh Warner <silvertrumpet999+github@gmail.com> <warner.joshua@mayo.edu>
8587
Junhao WEN <anbai106@hotmail.com>
@@ -151,6 +153,7 @@ Shariq Iqbal <shariqiqbal2810@gmail.com>
151153
Shariq Iqbal <shariqiqbal2810@gmail.com> <shariqiqbal2810@users.noreply.github.com>
152154
Shoshana Berleant <berleant@stanford.edu> Shoshana Berleant <nope>
153155
Shoshana Berleant <berleant@stanford.edu> <shoshber@users.noreply.github.com>
156+
Shoshana Berleant <berleant@stanford.edu> Ubuntu <ubuntu@ip-172-31-43-202.us-west-2.compute.internal>
154157
Simon Rothmei <srothmei@mailbox.tu-berlin.de>
155158
Simon Rothmei <srothmei@mailbox.tu-berlin.de> <srothmei@users.noreply.github.com>
156159
Siqi Liu <lsqshr@gmail.com>

.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)