mirror of
https://github.com/hmalik144/Android-Cucumber-BDD-Sample.git
synced 2026-03-18 07:25:56 +00:00
Added Travis CI & Coveralls.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.github.kt3k.coveralls'
|
||||
|
||||
android {
|
||||
compileSdkVersion 25
|
||||
@@ -41,3 +42,12 @@ dependencies {
|
||||
compile 'com.android.support:appcompat-v7:25.0.1'
|
||||
compile 'com.android.support:recyclerview-v7:25.0.1'
|
||||
}
|
||||
|
||||
coveralls {
|
||||
jacocoReportPath = "${buildDir}/reports/coverage/debug/report.xml"
|
||||
}
|
||||
|
||||
tasks.coveralls {
|
||||
dependsOn 'createDebugCoverageReport'
|
||||
onlyIf { System.env.'CI' }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user