mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
updated codacy code coverage reporter to latest
This commit is contained in:
@@ -20,7 +20,8 @@ cache:
|
||||
- "$HOME/.sonar/cache"
|
||||
|
||||
before_install:
|
||||
- wget -O ~/codacy-coverage-reporter-assembly.jar https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/1.0.13/codacy-coverage-reporter-1.0.13-assembly.jar
|
||||
- sudo apt-get install jq
|
||||
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)
|
||||
|
||||
matrix:
|
||||
include:
|
||||
@@ -36,8 +37,8 @@ matrix:
|
||||
- if [ ! -z "$TRAVIS_TAG" ]; then travis_wait 20 mvn install sonar:sonar -DreleaseTesting; else travis_wait 15 mvn install sonar:sonar -DreleaseTesting; fi
|
||||
|
||||
after_success:
|
||||
- if [ "$JDK" == "JDK7" ]; then java -cp ~/codacy-coverage-reporter-assembly.jar com.codacy.CodacyCoverageReporter -l Java -r build-reporting/target/coverage-reports/jacoco.xml; fi;
|
||||
- if [ "$JDK" == "JDK7" ]; then ./coverity_scan.sh; fi;
|
||||
- if [ "$JDK" == "JDK8" ]; then java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build-reporting/target/coverage-reports/jacoco.xml; fi;
|
||||
- if [ "$JDK" == "JDK8" ]; then ./coverity_scan.sh; fi;
|
||||
|
||||
deploy:
|
||||
- provider: script
|
||||
|
||||
Reference in New Issue
Block a user