mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 07:15:54 -04:00
Merge pull request #251 from bitsquare/coverage
Support code coverage using JaCoCo and Coveralls
This commit is contained in:
commit
dabef6be8d
@ -18,3 +18,9 @@ notifications:
|
||||
on_failure: always
|
||||
use_notice: true
|
||||
skip_join: true
|
||||
|
||||
env:
|
||||
- TERM=dumb
|
||||
|
||||
after_success:
|
||||
- ./gradlew jacocoTestReport coveralls
|
||||
|
@ -1,6 +1,7 @@
|
||||
<img src="https://bitsquare.io/images/logo.png" width="240"/>
|
||||
|
||||
[](https://travis-ci.org/bitsquare/bitsquare)
|
||||
[](https://coveralls.io/r/bitsquare/bitsquare)
|
||||
|
||||
|
||||
What is Bitsquare?
|
||||
|
11
build.gradle
11
build.gradle
@ -2,11 +2,15 @@ import org.apache.tools.ant.taskdefs.condition.Os
|
||||
|
||||
plugins {
|
||||
id "com.github.johnrengelman.shadow" version "1.1.2"
|
||||
id "com.github.kt3k.coveralls" version "2.0.1x"
|
||||
}
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'application'
|
||||
apply plugin: 'jacoco'
|
||||
|
||||
wrapper.gradleVersion = '2.1'
|
||||
|
||||
version = '0.1.0-SNAPSHOT'
|
||||
sourceCompatibility = 1.8
|
||||
@ -60,4 +64,9 @@ task packageNative(type:Exec, dependsOn:shadowJar) {
|
||||
args project.version, shadowJar.archivePath, mainClassName
|
||||
}
|
||||
|
||||
wrapper.gradleVersion = '2.1'
|
||||
jacocoTestReport {
|
||||
reports {
|
||||
xml.enabled = true
|
||||
html.enabled = true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user