diff --git a/.travis.yml b/.travis.yml index 26599edc38..ea9ae548c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/scripts/travis/unit-test/content.sh b/scripts/travis/unit-test/content.sh index 3d828a3426..64f7586820 100755 --- a/scripts/travis/unit-test/content.sh +++ b/scripts/travis/unit-test/content.sh @@ -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 diff --git a/scripts/travis/unit-test/core-extension-demo.sh b/scripts/travis/unit-test/core-extension-demo.sh index 69a01c3818..ff2d4b9e01 100755 --- a/scripts/travis/unit-test/core-extension-demo.sh +++ b/scripts/travis/unit-test/core-extension-demo.sh @@ -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 diff --git a/scripts/travis/unit-test/process.sh b/scripts/travis/unit-test/process.sh index 3bea57eec0..2289180925 100755 --- a/scripts/travis/unit-test/process.sh +++ b/scripts/travis/unit-test/process.sh @@ -26,4 +26,4 @@ then ng test process-services-cloud --watch=false || exit 1; fi; - +bash <(curl -s https://codecov.io/bash) -X gcov