Skip to content

Commit

Permalink
Tried initial coveralls config.
Browse files Browse the repository at this point in the history
  • Loading branch information
amatkivskiy committed Sep 26, 2016
1 parent dd20809 commit bb3a91d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ language: java
jdk: oraclejdk7
before_install:
- chmod +x gradlew
script: ./gradlew clean build
script:
- ./gradlew clean build
after_success:
- ./gradlew jacocoTestReport coveralls
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.3"
}
}

Expand Down
9 changes: 9 additions & 0 deletions library/rx/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apply plugin: 'java'
apply plugin: 'com.novoda.bintray-release'
apply plugin: 'jacoco'
apply plugin: 'com.github.kt3k.coveralls'

buildscript {
repositories {
Expand All @@ -15,6 +17,13 @@ repositories {
maven { url "https://dl.bintray.com/amatkivskiy/maven/"}
}

jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}

publish {
groupId = 'com.github.amatkivskiy'
artifactId = 'gitter.sdk.rx'
Expand Down

0 comments on commit bb3a91d

Please sign in to comment.