diff --git a/.travis.yml b/.travis.yml index 61d144c..fa26d9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,5 @@ language: java jdk: - oraclejdk8 after_success: - - ./gradlew cobertura coveralls \ No newline at end of file + - if [ -e ./gradlew ]; then ./gradlew jacocoTestReport;else gradle jacocoTestReport;fi + - bash <(curl -s https://codecov.io/bash) -t 7a683107-98e4-4c0d-b154-649e9ac9693c diff --git a/README.md b/README.md index e3b2315..2611161 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -[![Build Status](https://travis-ci.org/memoizr/assertk-core.svg?branch=master)](https://travis-ci.org/memoizr/assertk-core) -[![](https://jitpack.io/v/memoizr/assertk-core.svg)](https://jitpack.io/#memoizr/assertk-core) -[![GitHub license](https://img.shields.io/github/license/kotlintest/kotlintest.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) +[![Build Status](https://travis-ci.org/memoizr/assertk-core.svg?branch=master)](https://travis-ci.org/memoizr/assertk-core) [![](https://jitpack.io/v/memoizr/assertk-core.svg)](https://jitpack.io/#memoizr/assertk-core) [![GitHub license](https://img.shields.io/github/license/kotlintest/kotlintest.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) [![codecov](https://codecov.io/gh/memoizr/assertk-core/branch/master/graph/badge.svg)](https://codecov.io/gh/memoizr/assertk-core) + # AssertK - Fluent assertions for Kotlin AssertK provides a Kotlin-friendly syntax for using the amazing AssertJ assertion framework. diff --git a/build.gradle b/build.gradle index 5fe44f7..54e52dd 100644 --- a/build.gradle +++ b/build.gradle @@ -11,24 +11,23 @@ buildscript { } } -plugins { - id 'net.saliman.cobertura' version '2.3.1' - id 'com.github.kt3k.coveralls' version '2.6.3' -} - -cobertura.coverageFormats = ['html', 'xml'] -cobertura.coverageSourceDirs = ['src/main/kotlin'] -cobertura.coverageSourceDirs = ['src/test/kotlin'] group 'com.memoizr' version '0.1' apply plugin: 'kotlin' +apply plugin: 'jacoco' repositories { maven { url "https://dl.bintray.com/kotlin/kotlin-eap-1.1" } jcenter() } +jacocoTestReport { + reports { + xml.enabled true + } +} + dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION" compile group: 'org.assertj', name: 'assertj-core', version: '2.5.0'