diff options
author | ritchie <ritchie@gmx.at> | 2015-05-09 09:38:28 +0200 |
---|---|---|
committer | ritchie <ritchie@gmx.at> | 2015-05-09 09:38:28 +0200 |
commit | b2067792254729ba7267bdba569b609ab38463ea (patch) | |
tree | 08d9bc7bbb3d1a14bed187407b1b2af706f63d69 | |
parent | fb42a3003b5ebb3e0b0aacaac60890d3beb4798c (diff) | |
download | nanohttpd-b2067792254729ba7267bdba569b609ab38463ea.tar.gz |
try to activate test coverage over travis
-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> |