Submit coverage data to Codacy.com
This commit is contained in:
parent
afed8eb28a
commit
bf34145591
11
.travis.yml
11
.travis.yml
@ -2,5 +2,16 @@ language: java
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- openjdk7
|
||||
|
||||
env:
|
||||
# encrypted Codacy key, see https://docs.travis-ci.com/user/encryption-keys/
|
||||
- secure: "VmS4He99YlI6rdmw8Q25OZ9kUp11sRbt0W1QMBvA5lzNSmhN1Q1KtaMj9AGwpCZWcyGWri4AQxEmloARxACxQHXRmNE7ro2DESGw46RAocBAf+RfBxYTifIyUGu5TnSCQhz56SkgpyWpedZAZWyah9ZxgUMfet4KXFUfeiUgYQA="
|
||||
|
||||
before_install:
|
||||
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar https://github.com/codacy/codacy-coverage-reporter/releases/download/2.0.0/codacy-coverage-reporter-2.0.0-assembly.jar
|
||||
|
||||
script: ./refine test
|
||||
|
||||
after_success:
|
||||
- java -cp ~/codacy-coverage-reporter-assembly-latest.jar com.codacy.CodacyCoverageReporter -l Java -r build/report/jacoco.xml
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
<property name="server.tests.classes.dir" value="${server.tests.dir}/classes" />
|
||||
<property name="server.tests.report.dir" value="${build.dir}/report"/>
|
||||
<property name="server.tests.report.html.dir" value="${server.tests.report.dir}/html"/>
|
||||
<property name="server.tests.report.xml.path" value="${server.tests.report.dir}/report.xml"/>
|
||||
<property name="server.tests.report.xml.path" value="${server.tests.report.dir}/jacoco.xml"/>
|
||||
|
||||
<property name="graphics.dir" value="${basedir}/graphics" />
|
||||
<property name="conf.dir" value="${basedir}/conf" />
|
||||
|
Loading…
Reference in New Issue
Block a user