File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 16
16
- EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
17
17
- PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
18
18
- EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
19
+ - CHECK_TYPE=test
19
20
matrix :
20
21
- INSTALL_DEB_DEPENDECIES=true
21
22
NIPYPE_EXTRAS="doc,tests,nipy,profiler"
31
32
EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
32
33
CI_SKIP_TEST=1
33
34
35
+ matrix :
36
+ include :
37
+ - python : 3.7
38
+ env :
39
+ - NIPYPE_EXTRAS=dev
40
+ CHECK_TYPE=specs
41
+
34
42
addons :
35
43
apt :
36
44
packages :
@@ -64,7 +72,16 @@ install:
64
72
- travis_retry pip install pytest-xdist
65
73
66
74
script :
67
- - 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 check-before-commit
82
+ git add nipype
83
+ test "$( git diff --cached | wc -l )" -eq 0 || ( git diff --cached && false )
84
+ fi
68
85
69
86
after_script :
70
87
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER
You can’t perform that action at this time.
0 commit comments