Skip to content
This repository was archived by the owner on Dec 26, 2017. It is now read-only.

Commit dc75fee

Browse files
committed
Add coveralls configuration
1 parent 60998e2 commit dc75fee

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ language: java
22
sudo: false
33
jdk:
44
- oraclejdk8
5+
6+
after_success:
7+
- ./gradlew jacocoTestReport coveralls
8+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# trellis-namespaces
22

33
[![Build Status](https://travis-ci.org/trellis-ldp/trellis-namespaces.png?branch=master)](https://travis-ci.org/trellis-ldp/trellis-namespaces)
4+
[![Coverage Status](https://coveralls.io/repos/github/trellis-ldp/trellis-namespaces/badge.svg?branch=master)](https://coveralls.io/github/trellis-ldp/trellis-namespaces?branch=master)
45

56
A namespace service for a trellis repository.
67

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id 'com.github.ben-manes.versions' version '0.15.0'
33
id 'com.github.hierynomus.license' version '0.13.1'
44
id 'net.researchgate.release' version '2.6.0'
5+
id 'com.github.kt3k.coveralls' version '2.8.1'
56
id 'org.sonarqube' version '2.5'
67
}
78

@@ -71,6 +72,13 @@ gradle.projectsEvaluated {
7172
}
7273
}
7374

75+
jacocoTestReport {
76+
reports {
77+
xml.enabled = true
78+
html.enabled = true
79+
}
80+
}
81+
7482
release {
7583
tagTemplate = '$name-$version'
7684
}

0 commit comments

Comments
 (0)