We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1219d39 commit 62c688cCopy full SHA for 62c688c
.travis.yml
@@ -26,6 +26,11 @@ matrix:
26
- python: 2.7
27
env:
28
- DEPENDS="numpy==1.5.1 pydicom==0.9.7"
29
+ # Documentation doctests
30
+ - python: 2.7
31
+ env:
32
+ - DEPENDS="numpy scipy matplotlib h5py sphinx"
33
+ - DOC_DOC_TEST=1
34
before_install:
35
- virtualenv venv
36
- source venv/bin/activate
@@ -58,6 +63,12 @@ script:
58
63
cp ../.coveragerc .;
59
64
COVER_ARGS="--with-coverage --cover-package nibabel";
60
65
fi
61
- - nosetests --with-doctest $COVER_ARGS nibabel
66
+ - if [ "$DOC_DOC_TEST" == "1" ]; then
67
+ cd ../doc;
68
+ make html;
69
+ make doctest;
70
+ else
71
+ nosetests --with-doctest $COVER_ARGS nibabel;
72
+ fi
62
73
after_success:
74
- if [ "${COVERAGE}" == "1" ]; then coveralls; fi
0 commit comments