File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,11 @@ RUN mkdir -p .nipype && \
38
38
echo 'interface_level = DEBUG' >> .nipype/nipype.cfg && \
39
39
echo 'filemanip_level = DEBUG' >> .nipype/nipype.cfg
40
40
41
- WORKDIR /root/src
41
+ ADD docker/circleci/run_* /usr/bin/
42
+ RUN chmod +x /usr/bin/run_*
43
+
44
+ # Install this branch's code
45
+ WORKDIR /scratch/src
42
46
ADD . nipype/
43
47
44
48
# Install the checked out version of nipype, check that requirements are
@@ -58,9 +62,6 @@ RUN cd nipype/ && \
58
62
pip install -r requirements.txt && \
59
63
pip install -e .
60
64
61
- WORKDIR /root/
62
- ADD docker/circleci/run_* /usr/bin/
63
- RUN chmod +x /usr/bin/run_*
64
65
WORKDIR /scratch
65
66
66
67
# RUN echo 'source /etc/profile.d/nipype_tests.sh' >> /etc/bash.bashrc
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ dependencies:
19
19
20
20
test :
21
21
override :
22
+ - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_builddocs.sh" nipype/testbench
22
23
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench test_spm Linear workflow3d workflow4d :
23
24
timeout : 1600
24
25
- docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch nipype/testbench fmri_fsl_feeds Linear l1pipeline
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ for i in /etc/profile.d/* .sh; do
3
+ source $i
4
+ done
5
+ source activate nipypetests-2.7
6
+
7
+ set -o pipefail && cd /scratch/src/nipype/doc && make html 2>&1 | tee /scratch/builddoc.log
8
+ cat /scratch/builddoc.log && if grep -q " ERROR" /scratch/builddoc.log; then false ; else true ; fi
9
+
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ for i in /etc/profile.d/*.sh; do
3
3
source $i
4
4
done
5
5
source activate nipypetests-2.7
6
- python /root /src/nipype/tools/run_examples.py $@
6
+ python /scratch /src/nipype/tools/run_examples.py $@
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ for i in /etc/profile.d/*.sh; do
3
3
source $i
4
4
done
5
5
source activate nipypetests-2.7
6
+ cd src/nipype
6
7
nosetests --with-doctest -c ./.noserc --logging-level=DEBUG --verbosity=3 $@
You can’t perform that action at this time.
0 commit comments