Skip to content

Commit a3c326c

Browse files
authored
Run Jacoco, update badges (#158)
1 parent 17cb52e commit a3c326c

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

Diff for: .travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ sudo: false
77
# script for build and release via Travis to Bintray
88
script: gradle/buildViaTravis.sh
99

10+
# Code coverage
11+
after_success:
12+
- bash <(curl -s https://codecov.io/bash)
13+
1014
# cache between builds
1115
cache:
1216
directories:

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# RxJava Reactive Streams
22

3+
<a href='https://travis-ci.org/ReactiveX/RxJavaReactiveStreams/builds'><img src='https://travis-ci.org/ReactiveX/RxJavaReactiveStreams.svg?branch=1.x'></a>
4+
[![codecov.io](http://codecov.io/github/ReactiveX/RxJavaReactiveStreams/coverage.svg?branch=1.x)](http://codecov.io/github/ReactiveX/RxJavaReactiveStreams?branch=1.x)
5+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.reactivex/rxjava-reactive-streams/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.reactivex/rxjava-reactive-streams)
6+
37
This library provides adapters between RxJava and [Reactive Streams](http://www.reactive-streams.org).
48
The Reactive Streams standard defines an API and runtime semantics for reactive data streams, that different tools can implement in order to interoperate with each other.
59
This library allows RxJava to interoperate with other implementors of the Reactive Streams API.
@@ -37,10 +41,6 @@ and can therefore interoperate with RxJava via these methods.
3741

3842
Learn more about RxJava on the <a href="https://github.com/ReactiveX/RxJava/wiki">Wiki Home</a> and the <a href="http://techblog.netflix.com/2013/02/rxjava-netflix-api.html">Netflix TechBlog post</a> where RxJava was introduced.
3943

40-
## Master Build Status
41-
42-
<a href='https://travis-ci.org/ReactiveX/RxJavaReactiveStreams/builds'><img src='https://travis-ci.org/ReactiveX/RxJavaReactiveStreams.svg?branch=0.x'></a>
43-
4444
## Communication
4545

4646
- Google Group: [RxJava](http://groups.google.com/d/forum/rxjava)

Diff for: rxjava-reactive-streams/build.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
description = "Adapter between RxJava and ReactiveStreams"
22

33
apply plugin: 'java'
4+
apply plugin: 'jacoco'
45

56
dependencies {
67
compile 'io.reactivex:rxjava:1.2.1'
@@ -26,3 +27,16 @@ useTestNG()
2627
}
2728
}
2829

30+
31+
jacoco {
32+
toolVersion = '0.7.7.201606060606' // See http://www.eclemma.org/jacoco/.
33+
}
34+
35+
jacocoTestReport {
36+
reports {
37+
xml.enabled = true
38+
html.enabled = true
39+
}
40+
}
41+
42+
build.dependsOn jacocoTestReport

0 commit comments

Comments
 (0)