Skip to content

Commit

Permalink
Adding coveralls badge
Browse files Browse the repository at this point in the history
  • Loading branch information
markbiddlecom committed Jul 10, 2017
1 parent 83929bf commit 1e8c53e
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ language: java
jdk:
- oraclejdk8

after_success:
- mvn clean test jacoco:report coveralls:report
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Fuzzy is a handy little library for writing expressive
["fuzz tests"](https://en.wikipedia.org/wiki/Fuzz_testing) in Java.

[![Build Status](https://travis-ci.org/redfin/fuzzy.svg?branch=master)](https://travis-ci.org/redfin/fuzzy)
[![Coverage Status](https://coveralls.io/repos/github/redfin/fuzzy/badge.svg)](https://coveralls.io/github/redfin/fuzzy)
[![fuzzy-core Javadoc](http://javadoc-badge.appspot.com/com.redfin/fuzzy-core.svg?label=fuzzy-core+javadoc)](http://javadoc-badge.appspot.com/com.redfin/fuzzy-core)
[![fuzzy-core Javadoc](http://javadoc-badge.appspot.com/com.redfin/fuzzy-junit-4.svg?label=fuzzy-junit-4+javadoc)](http://javadoc-badge.appspot.com/com.redfin/fuzzy-junit-4)

Expand Down
14 changes: 3 additions & 11 deletions fuzzy-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -58,6 +59,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -70,6 +72,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
</configuration>
Expand All @@ -82,17 +85,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
3 changes: 3 additions & 0 deletions fuzzy-junit-4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -63,6 +64,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -75,6 +77,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
</configuration>
Expand Down
1 change: 1 addition & 0 deletions fuzzy-junit-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
<name>Fuzzy</name>
<description>A tool that generates randomized but deterministic values for use in test suites.</description>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<url>https://github.com/redfin/fuzzy</url>
<scm>
<connection>scm:git:[email protected]:redfin/fuzzy.git</connection>
Expand Down Expand Up @@ -93,6 +97,26 @@
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>


<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.6.201602180812</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>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 1e8c53e

Please sign in to comment.