diff --git a/.travis.yml b/.travis.yml index a7760a6b..8087cdf3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,6 @@ addons: organization: "apollo-rsps" after_success: - - ./gradlew jacocoTestReport - - bash <(curl -s https://codecov.io/bash) - git fetch --unshallow - ./gradlew -Dsonar.host.url=https://sonarcloud.io -Dsonar.login="$SONAR_TOKEN" sonarqube before_cache: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f2efa703..af4cf36b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,8 +22,14 @@ steps: jdkArchitectureOption: 'x64' publishJUnitResults: true testResultsFiles: '**/TEST-*.xml' - tasks: 'build' + tasks: 'check jacocoTestReport' - script: | ./gradlew --stop - displayName: "Gradle: stop daemon" \ No newline at end of file + displayName: "Gradle: stop daemon" + + - script: | + bash <(curl -s https://codecov.io/bash) -t "${CODECOV_TOKEN}" + env: + CODECOV_TOKEN: $(CODECOV_TOKEN) + displayName: "Codecov: publish coverage" \ No newline at end of file