Skip to content

Commit 176f17c

Browse files
committed
install codecov from pip
1 parent 8ff0b93 commit 176f17c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

circle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ dependencies:
2626
# Create work folder and force group permissions
2727
- mkdir -p $WORKDIR && sudo setfacl -d -m group:ubuntu:rwx $WORKDIR && sudo setfacl -m group:ubuntu:rwx $WORKDIR
2828
- mkdir -p $HOME/docker $HOME/examples $HOME/bin $WORKDIR/tests $WORKDIR/logs $WORKDIR/crashfiles ${CIRCLE_TEST_REPORTS}/tests/
29+
- pip install codecov
2930
override:
30-
- if [[ -e "$HOME/bin/codecov.io" ]]; then curl -so $HOME/bin/codecov https://codecov.io/bash && chmod 755 $HOME/bin/codecov; fi
3131
- if [[ -e "$HOME/docker/cache.tar" ]]; then docker load --input $HOME/docker/cache.tar; fi :
3232
timeout: 6000
3333
- docker images
@@ -54,8 +54,8 @@ test:
5454
# Place reports in the appropriate folder
5555
- cp ${WORKDIR}/tests/*.xml ${CIRCLE_TEST_REPORTS}/tests/
5656
# Send coverage data to codecov.io
57-
- ${HOME}/bin/codecov -f "coverage*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F unittests -v -K
58-
- ${HOME}/bin/codecov -f "smoketest*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F smoketests -v -K
57+
- codecov -f "coverage*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F unittests -v -K
58+
- codecov -f "smoketest*.xml" -s "${WORKDIR}/tests/" -R "${HOME}/nipype/" -F smoketests -v -K
5959

6060
general:
6161
artifacts:

0 commit comments

Comments
 (0)