File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 6
6
mkdir -p /scratch/docs
7
7
make html 2>&1 | tee /scratch/builddocs.log
8
8
cp -r /root/src/nipype/doc/_build/html/* /scratch/docs/
9
- chmod 777 -R /scratch/docs
10
- chmod 777 /scratch/builddocs.log
11
9
cat /scratch/builddocs.log && if grep -q " ERROR" /scratch/builddocs.log; then false ; else true ; fi
Original file line number Diff line number Diff line change @@ -15,5 +15,3 @@ coverage run /root/src/nipype/tools/run_examples.py $@
15
15
arr=$@
16
16
tmp_var=$( IFS=$' ' ; echo " ${arr[*]} " )
17
17
coverage xml -o " /scratch/smoketest_${tmp_var// [^A-Za-z0-9_-]/ _} .xml"
18
-
19
- chmod 777 -R /scratch/logs
Original file line number Diff line number Diff line change 36
36
37
37
# Copy crashfiles to scratch
38
38
for i in $( find /root/src/nipype/ -name " crash-*" ) ; do cp $i /scratch/crashfiles/; done
39
- chmod 777 -R /scratch/*
Original file line number Diff line number Diff line change 7
7
set -e
8
8
9
9
mkdir -p ${CIRCLE_TEST_REPORTS} /pytest
10
- sudo mv ~ /scratch/* .xml ${CIRCLE_TEST_REPORTS} /pytest
10
+ mv ~ /scratch/* .xml ${CIRCLE_TEST_REPORTS} /pytest
11
11
mkdir -p ~ /docs
12
- sudo mv ~ /scratch/docs/* ~ /docs/
12
+ mv ~ /scratch/docs/* ~ /docs/
13
13
mkdir -p ~ /logs
14
- sudo mv ~ /scratch/builddocs.log ~ /logs/builddocs.log
15
- sudo mv ~ /scratch/logs/* ~ /logs/
14
+ mv ~ /scratch/builddocs.log ~ /logs/builddocs.log
15
+ mv ~ /scratch/logs/* ~ /logs/
You can’t perform that action at this time.
0 commit comments