diff options
-rw-r--r-- | .travis.yml | 9 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | pom.xml | 16 |
3 files changed, 26 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ee64f5c..a24f7f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,11 @@ language: java - jdk: - oraclejdk7 + +install: + - mvn install -DskipTests=true + +script: mvn test + +after_success: + - mvn clean cobertura:cobertura coveralls:report
\ No newline at end of file @@ -6,6 +6,8 @@ current build status at https://travis-ci.org [![Build Status](https://api.travis-ci.org/NanoHttpd/nanohttpd.png)](https://travis-ci.org/NanoHttpd/nanohttpd) +Test Coverage Status [![Coverage Status](https://coveralls.io/repos/NanoHttpd/nanohttpd/badge.svg)](https://coveralls.io/r/NanoHttpd/nanohttpd) + ## Core Features * Only one Java file, providing HTTP 1.1 support. * Two "flavours" - one at "current" standards and one strictly Java 1.1 compatible. @@ -218,6 +218,22 @@ <reuseForks>false</reuseForks> </configuration> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.7</version> + <configuration> + <format>xml</format> + <maxmem>256m</maxmem> + <!-- aggregated reports for multi-module projects --> + <aggregate>true</aggregate> + </configuration> + </plugin> + <plugin> + <groupId>org.eluder.coveralls</groupId> + <artifactId>coveralls-maven-plugin</artifactId> + <version>3.1.0</version> + </plugin> </plugins> </build> <reporting> |