diff --git a/.travis.yml b/.travis.yml index 65f54f1..1c7312e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,7 @@ android: licenses: - '.+' -script: ./gradlew test \ No newline at end of file +script: ./gradlew test + +after_success: +- ./gradlew cobertura coveralls \ No newline at end of file diff --git a/README.md b/README.md index d78affa..c1e70f0 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ -# BandDetection - -[![Build Status](https://travis-ci.org/Shelnutt2/BandDetection.svg?branch=master)](https://travis-ci.org/Shelnutt2/BandDetection) +# Band Detection [![Build Status](https://travis-ci.org/Shelnutt2/BandDetection.svg?branch=master)](https://travis-ci.org/Shelnutt2/BandDetection) [![Coverage Status](https://coveralls.io/repos/github/Shelnutt2/BandDetection/badge.svg?branch=master)](https://coveralls.io/github/Shelnutt2/BandDetection?branch=master) This library is designed for root qualcomm android devices. ## Documentation Java docs are available here: -[http://shelnutt2.github.io/BandDetection/](http://shelnutt2.github.io/BandDetection/) \ No newline at end of file +[http://shelnutt2.github.io/BandDetection/](http://shelnutt2.github.io/BandDetection/) diff --git a/build.gradle b/build.gradle index 630c771..153ade2 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,13 @@ buildscript { } } +plugins { + id 'net.saliman.cobertura' version '2.3.0' + id 'com.github.kt3k.coveralls' version '2.6.3' +} + +cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report + allprojects { repositories { jcenter()