mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
move codecov inside unit test to avoid the aftes success execution in any script stage
This commit is contained in:
parent
f35f0466e6
commit
24e1794fb9
@ -138,10 +138,6 @@ deploy:
|
|||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
# Send coverage data to codecov
|
|
||||||
after_success:
|
|
||||||
bash <(curl -s https://codecov.io/bash) -X gcov
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
@ -11,3 +11,5 @@ if [[ $AFFECTED_LIBS =~ "content-services$" || $TRAVIS_PULL_REQUEST == "false"
|
|||||||
then
|
then
|
||||||
ng test content-services --watch=false || exit 1;
|
ng test content-services --watch=false || exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
bash <(curl -s https://codecov.io/bash) -X gcov
|
||||||
|
@ -27,3 +27,5 @@ if ([ "$TRAVIS_BRANCH" = "master" ]); then
|
|||||||
else
|
else
|
||||||
(./scripts/start.sh -dev -t -ss -si || exit 1;);
|
(./scripts/start.sh -dev -t -ss -si || exit 1;);
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
bash <(curl -s https://codecov.io/bash) -X gcov
|
||||||
|
@ -26,4 +26,4 @@ then
|
|||||||
ng test process-services-cloud --watch=false || exit 1;
|
ng test process-services-cloud --watch=false || exit 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
bash <(curl -s https://codecov.io/bash) -X gcov
|
||||||
|
Loading…
x
Reference in New Issue
Block a user