Skip to content

Commit e78c40d

Browse files
committed
coveralls support
1 parent 5f2b677 commit e78c40d

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ cache:
88
directories:
99
- $HOME/.gradle/caches/
1010
- $HOME/.gradle/wrapper/
11-
11+
after_success:
12+
- ./gradlew jacocoTestReport coveralls

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![Release](https://jitpack.io/v/scm4j/scm4j-vcs-svn.svg)](https://jitpack.io/#scm4j/scm4j-vcs-svn)
22
[![Build Status](https://travis-ci.org/scm4j/scm4j-vcs-svn.svg?branch=master)](https://travis-ci.org/scm4j/scm4j-vcs-svn)
3+
[![Coverage Status](https://coveralls.io/repos/github/scm4j/scm4j-vcs-svn/badge.svg?branch=master)](https://coveralls.io/github/scm4j/scm4j-vcs-svn?branch=master)
34

45
# Overview
56
scm4j-vcs-svn is lightweight library for execute basic SVN VCS operations (merge, branch create etc). It uses [scm4j-vcs-api](https://github.com/scm4j/scm4j-vcs-api) exposing IVCS implementation for SVN repositories and [SVNKit](https://svnkit.com/) as framework to work with SVN repositories.

build.gradle

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
1+
plugins {
2+
id 'jacoco'
3+
id 'com.github.kt3k.coveralls' version '2.8.1'
4+
}
5+
16
apply plugin: 'java'
27
apply plugin: 'maven'
38
apply plugin: 'eclipse'
9+
apply plugin: 'idea'
410

511
sourceCompatibility = JavaVersion.VERSION_1_7
612
targetCompatibility = JavaVersion.VERSION_1_7
713

814
group = 'org.scm4j'
915
version = '3.0-SNAPSHOT'
1016

17+
jacocoTestReport {
18+
reports {
19+
xml.enabled = true // coveralls plugin depends on xml format report
20+
html.enabled = true
21+
}
22+
}
23+
1124
repositories {
1225
mavenCentral()
1326
maven {
@@ -19,7 +32,7 @@ defaultTasks 'build';
1932

2033
dependencies {
2134
compile 'com.github.scm4j:scm4j-vcs-api:master-SNAPSHOT'
22-
compile 'org.tmatesoft.svnkit:svnkit:1.8.6'
35+
compile 'org.tmatesoft.svnkit:svnkit:1.8.6'
2336

2437
testCompile 'junit:junit:4.12'
2538
testCompile 'com.github.scm4j:scm4j-vcs-test:master-SNAPSHOT'

0 commit comments

Comments
 (0)