Skip to content

Commit

Permalink
enable coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
andyglow committed Nov 12, 2017
1 parent b9e33f1 commit b4cebc2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ cache:
directories:
- $HOME/.m2

# script: sbt ++$TRAVIS_SCALA_VERSION clean coverage test

# after_success: sbt ++$TRAVIS_SCALA_VERSION coverageReport coverageAggregate coveralls
after_success:
- mvn -DrepoToken= clean cobertura:cobertura coveralls:report
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# simple-java-json-parser

[![Build Status](https://travis-ci.org/andyglow/simple-java-json-parser.svg?branch=master)](https://travis-ci.org/andyglow/simple-java-json-parser)
[![Coverage Status](https://coveralls.io/repos/github/andyglow/simple-java-json-parser/badge.svg?branch=master)](https://coveralls.io/github/andyglow/simple-java-json-parser?branch=master)

Simple Java JSON Parser
16 changes: 15 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.github.andyglow</groupId>
<artifactId>simple-json-parser</artifactId>
<artifactId>simple-java-json-parser</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

Expand Down Expand Up @@ -46,6 +46,20 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<format>xml</format>
<maxmem>256m</maxmem>
</configuration>
</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 b4cebc2

Please sign in to comment.