File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 3
3
# This script pull all coverage files into the $CIRCLE_TEST_REPORTS folder
4
4
# and sends data to codecov.
5
5
#
6
- #
7
- set -u
8
- set -e
6
+
7
+ # Setting # $ help set
8
+ set -e # Exit immediately if a command exits with a non-zero status.
9
+ set -u # Treat unset variables as an error when substituting.
10
+ set -x # Print command traces before executing command.
9
11
10
12
mkdir -p ${CIRCLE_TEST_REPORTS} /
11
13
for report in $( ls ~ /scratch/* .xml ) ; do
16
18
# Send coverage data to codecov.io
17
19
curl -so codecov.io https://codecov.io/bash
18
20
chmod 755 codecov.io
21
+
19
22
find " ${CIRCLE_TEST_REPORTS} /" -name ' coverage*.xml' -print0 | \
20
23
xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F unittests
21
24
find " ${CIRCLE_TEST_REPORTS} /" -name ' smoketests*.xml' -print0 | \
22
- xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F smoketests
25
+ xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F smoketests
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+ #
3
+ # Balance nipype testing workflows across CircleCI build nodes
4
+ #
2
5
3
- set -o nounset
4
- set -o xtrace
5
-
6
- export CODECOV_TOKEN=ac172a50-8e66-42e5-8822-5373fcf54686
6
+ # Setting # $ help set
7
+ set -e # Exit immediately if a command exits with a non-zero status.
8
+ set -u # Treat unset variables as an error when substituting.
9
+ set -x # Print command traces before executing command.
7
10
8
11
if [ " ${CIRCLE_NODE_TOTAL:- } " != " 4" ]; then
9
12
echo " These tests were designed to be run at 4x parallelism."
Original file line number Diff line number Diff line change 8
8
DATA_NIPYPE_FSL_COURSE : " ${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
9
9
DATA_NIPYPE_FSL_FEEDS : " ${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
10
10
SCRATCH : " $HOME/scratch"
11
+ CODECOV_TOKEN : " ac172a50-8e66-42e5-8822-5373fcf54686"
11
12
services :
12
13
- docker
13
14
You can’t perform that action at this time.
0 commit comments