Permalink
Browse files

added jacoco and coverall reports

  • Loading branch information...
terzerm committed Jan 1, 2018
1 parent ef9eaa7 commit 1917037a14e62e718514960938a6e9267680f88c
Showing with 27 additions and 9 deletions.
  1. +3 −0 .travis.yml
  2. +2 −1 README.md
  3. +22 −8 pom.xml
View
@@ -3,3 +3,6 @@ jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
after_success:
- mvn clean test jacoco:report coveralls:report
View
@@ -1,6 +1,7 @@
![unix4j](https://github.com/tools4j/unix4j/blob/master/unix4j.png)
[![Build Status](https://travis-ci.org/tools4j/unix4j.svg?branch=master)](https://travis-ci.org/tools4j/unix4j)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.unix4j/unix4j-command/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.unix4j/unix4j-command)
[![Coverage Status](https://coveralls.io/repos/github/tools4j/unix4j/badge.svg?branch=master)](https://coveralls.io/github/tools4j/unix4j?branch=master)
[![Maven Central](https://img.shields.io/maven-central/v/org.unix4j/unix4j-command.svg)](https://search.maven.org/#search%7Cga%7C1%7Ca%3A%22unix4j-command%22)
<b>Unix4j</b> is an implementation of Unix command line tools in Java. You can use the commands that you know from Unix in a Java program---you can pipe the results of one command to another as you know it from Unix.
View
30 pom.xml
@@ -20,14 +20,6 @@
<module>unix4j-perf</module>
</modules>
<licenses>
<license>
<name>New BSD License</name>
<url>http://www.opensource.org/licenses/BSD-3-Clause</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/tools4j/unix4j</url>
<connection>scm:git:https://github.com/tools4j/unix4j.git</connection>
@@ -51,6 +43,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
@@ -91,6 +84,27 @@
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>

0 comments on commit 1917037

Please sign in to comment.