Skip to content

Commit 3eb5288

Browse files
committed
code coverage with codecov
1 parent 9c43b88 commit 3eb5288

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
language: java
22
jdk:
33
- oraclejdk8
4+
after_success:
5+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
**Update 09/22/2017**: I've been silent for long time (I'm into Golang lately hence putting Java aside) despite the fact that there are lots of interests to make this mini tool better. I'll kick off my effort to improve this tool from now on by reviewing outstanding issues and PRs
22

3-
# InMemoryJavaCompiler [![Build Status](https://travis-ci.org/trung/InMemoryJavaCompiler.svg?branch=master)](https://travis-ci.org/trung/InMemoryJavaCompiler) [![Coverage Status](https://coveralls.io/repos/github/trung/InMemoryJavaCompiler/badge.svg?branch=master)](https://coveralls.io/github/trung/InMemoryJavaCompiler?branch=master)
3+
# InMemoryJavaCompiler [![Build Status](https://travis-ci.org/trung/InMemoryJavaCompiler.svg?branch=master)](https://travis-ci.org/trung/InMemoryJavaCompiler) [![codecov](https://codecov.io/gh/trung/InMemoryJavaCompiler/branch/master/graph/badge.svg)](https://codecov.io/gh/trung/InMemoryJavaCompiler)
44
Samples with utility classes to compile java source code in memory
55

66
After taking huge effort to look for example on the internet and found nothing work. I decided to create a very simple version.

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
<nexus-staging-maven-plugin.version>1.6.3</nexus-staging-maven-plugin.version>
1919
<maven-release-plugin.version>2.5.1</maven-release-plugin.version>
2020
<gpg.executable>gpg2</gpg.executable>
21-
21+
2222
<!-- dependencies -->
2323
<slf4j.version>1.7.5</slf4j.version>
2424
<junit.version>4.12</junit.version>
2525
</properties>
26-
26+
2727
<licenses>
2828
<license>
2929
<name>Apache License, Version 2.0</name>
@@ -86,6 +86,18 @@
8686

8787
<build>
8888
<plugins>
89+
<plugin>
90+
<groupId>org.codehaus.mojo</groupId>
91+
<artifactId>cobertura-maven-plugin</artifactId>
92+
<version>2.7</version>
93+
<configuration>
94+
<formats>
95+
<format>html</format>
96+
<format>xml</format>
97+
</formats>
98+
<check />
99+
</configuration>
100+
</plugin>
89101
<plugin>
90102
<groupId>org.apache.maven.plugins</groupId>
91103
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)