freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [1/3] incubator-freemarker-online-tester git commit: added the coverage report
Date Fri, 05 May 2017 16:56:21 GMT
Repository: incubator-freemarker-online-tester
Updated Branches:
  refs/heads/master b36375752 -> c0a85a5a5


added the coverage report


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/commit/776bad37
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/tree/776bad37
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/diff/776bad37

Branch: refs/heads/master
Commit: 776bad376f5eea22d7b292ae4e69fdaad8cddcd8
Parents: b363757
Author: Pradeep Murugesan <pradeepmurugesan@outlook.com>
Authored: Fri May 5 12:33:50 2017 +0200
Committer: Pradeep Murugesan <pradeepmurugesan@outlook.com>
Committed: Fri May 5 12:34:38 2017 +0200

----------------------------------------------------------------------
 .travis.yml  |  4 +++-
 build.gradle | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/blob/776bad37/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index c4f11b7..968f652 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,5 @@
 language: java
 jdk:
-  - oraclejdk8
\ No newline at end of file
+  - oraclejdk8
+after_success:
+  - ./gradlew jacocoTestReport coveralls
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-freemarker-online-tester/blob/776bad37/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 7b98d96..340c80f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,6 +32,7 @@ apply plugin: 'jacoco'
 apply plugin: 'project-report'
 apply plugin: 'fpm-packaging'
 apply plugin: 'com.github.johnrengelman.shadow'
+apply plugin: "com.github.kt3k.coveralls"
 
 // Because Spring 3 doesn't officially support Java 8, and indeed asm fails with it:
 // Must be after `apply plugin: 'java'`!
@@ -60,6 +61,7 @@ buildscript {
         }
     }
     dependencies {
+        classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1"
         classpath "com.github.jengelman.gradle.plugins:shadow:1.2.4"
     }
 }
@@ -156,6 +158,14 @@ shadowJar {
     mergeServiceFiles()
 }
 
+jacocoTestReport {
+    reports {
+        xml.enabled  true
+    }
+}
+
+check.dependsOn jacocoTestReport
+
 shadowJar.dependsOn jar
 build.dependsOn shadowJar
 stageFiles.dependsOn build


Mime
View raw message