move codecov inside unit test to avoid the aftes success execution in any script stage

This commit is contained in:
Eugenio Romano 2019-08-29 15:14:54 +01:00
parent f35f0466e6
commit 24e1794fb9
4 changed files with 5 additions and 5 deletions

View File

@ -138,10 +138,6 @@ deploy:
on:
branch: master
# Send coverage data to codecov
after_success:
bash <(curl -s https://codecov.io/bash) -X gcov
cache:
directories:
- node_modules

View File

@ -11,3 +11,5 @@ if [[ $AFFECTED_LIBS =~ "content-services$" || $TRAVIS_PULL_REQUEST == "false"
then
ng test content-services --watch=false || exit 1;
fi;
bash <(curl -s https://codecov.io/bash) -X gcov

View File

@ -27,3 +27,5 @@ if ([ "$TRAVIS_BRANCH" = "master" ]); then
else
(./scripts/start.sh -dev -t -ss -si || exit 1;);
fi;
bash <(curl -s https://codecov.io/bash) -X gcov

View File

@ -26,4 +26,4 @@ then
ng test process-services-cloud --watch=false || exit 1;
fi;
bash <(curl -s https://codecov.io/bash) -X gcov