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 33# This script pull all coverage files into the $CIRCLE_TEST_REPORTS folder
44# and sends data to codecov.
55#
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.
911
1012mkdir -p ${CIRCLE_TEST_REPORTS} /
1113for report in $( ls ~ /scratch/* .xml ) ; do
1618# Send coverage data to codecov.io
1719curl -so codecov.io https://codecov.io/bash
1820chmod 755 codecov.io
21+
1922find " ${CIRCLE_TEST_REPORTS} /" -name ' coverage*.xml' -print0 | \
2023 xargs -0 -I file ./codecov.io -f file -t " ${CODECOV_TOKEN} " -F unittests
2124find " ${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 11#! /bin/bash
2+ #
3+ # Balance nipype testing workflows across CircleCI build nodes
4+ #
25
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.
710
811if [ " ${CIRCLE_NODE_TOTAL:- } " != " 4" ]; then
912 echo " These tests were designed to be run at 4x parallelism."
Original file line number Diff line number Diff line change 88 DATA_NIPYPE_FSL_COURSE : " ${OSF_NIPYPE_URL}/57f472cf9ad5a101f977ecfe"
99 DATA_NIPYPE_FSL_FEEDS : " ${OSF_NIPYPE_URL}/57f473066c613b01f113e7af"
1010 SCRATCH : " $HOME/scratch"
11+ CODECOV_TOKEN : " ac172a50-8e66-42e5-8822-5373fcf54686"
1112 services :
1213 - docker
1314
You can’t perform that action at this time.
0 commit comments