Skip to content

Commit c3ba201

Browse files
committed
Add coveralls
1 parent 9b678a9 commit c3ba201

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Hdfs file output plugin for Embulk
22

33
[![Build Status](https://travis-ci.org/civitaspo/embulk-output-hdfs.svg)](https://travis-ci.org/civitaspo/embulk-output-hdfs)
4+
[![Coverage Status](https://coveralls.io/repos/github/civitaspo/embulk-output-hdfs/badge.svg?branch=master)](https://coveralls.io/github/civitaspo/embulk-output-hdfs?branch=master)
45

56
A File Output Plugin for Embulk to write HDFS.
67

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ plugins {
33
id "com.github.jruby-gradle.base" version "0.1.5"
44
id "java"
55
id "checkstyle"
6+
id "com.github.kt3k.coveralls" version "2.4.0"
7+
id "jacoco"
68
}
79
import com.github.jrubygradle.JRubyExec
810
repositories {
@@ -36,6 +38,12 @@ task classpath(type: Copy, dependsOn: ["jar"]) {
3638
}
3739
clean { delete "classpath" }
3840

41+
jacocoTestReport {
42+
reports {
43+
xml.enabled = true // coveralls plugin depends on xml format report
44+
html.enabled = true
45+
}
46+
}
3947
checkstyle {
4048
configFile = file("${project.rootDir}/config/checkstyle/checkstyle.xml")
4149
toolVersion = '6.14.1'

0 commit comments

Comments
 (0)