diff options
author | Joey Grover <joeygrover@gmail.com> | 2017-05-31 13:35:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-31 13:35:05 -0400 |
commit | eac0e407e7a6caf9111b3b84497bfffe08c066d1 (patch) | |
tree | 2cf7f7709ec82a8027937f379639f6d461ed8c7d | |
parent | 27d9dc3647cfa0ee2d583328d7154603a0047fa3 (diff) | |
parent | 1c6e6deab4f6125471dffba32916a081438bdff5 (diff) | |
download | sdl_android-eac0e407e7a6caf9111b3b84497bfffe08c066d1.tar.gz |
Merge pull request #526 from smartdevicelink/feature/add_travis_codecov_badges
Feature/add travis codecov badges
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | sdl_android/build.gradle | 8 |
3 files changed, 16 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 340257957..c51216585 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,3 +42,9 @@ before_script: script: - android list target - ./gradlew connectedAndroidTest + +before_install: + - pip install --user codecov #Install codecov + +after_success: + - codecov #Run codecov @@ -1,4 +1,7 @@ +[![Build Status](https://travis-ci.org/smartdevicelink/sdl_android.svg?branch=master)](https://travis-ci.org/smartdevicelink/sdl_android) +[![codecov](https://codecov.io/gh/smartdevicelink/sdl_android/branch/master/graph/badge.svg)](https://codecov.io/gh/smartdevicelink/sdl_android) [![Slack Status](http://sdlslack.herokuapp.com/badge.svg)](http://slack.smartdevicelink.com) +[ ![Download](https://api.bintray.com/packages/smartdevicelink/sdl_android/sdl_android/images/download.svg) ](https://bintray.com/smartdevicelink/sdl_android/sdl_android/_latestVersion) # SmartDeviceLink (SDL) SmartDeviceLink (SDL) is a standard set of protocols and messages that connect applications on a smartphone to a vehicle head unit. This messaging enables a consumer to interact with their application using common in-vehicle interfaces such as a touch screen display, embedded voice recognition, steering wheel controls and various vehicle knobs and buttons. There are three main components that make up the SDL ecosystem. diff --git a/sdl_android/build.gradle b/sdl_android/build.gradle index 5ec4c4c9d..b9dc7cac8 100644 --- a/sdl_android/build.gradle +++ b/sdl_android/build.gradle @@ -15,6 +15,9 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + debug { + testCoverageEnabled = true + } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 @@ -31,6 +34,7 @@ dependencies { exclude group: 'com.android.support', module: 'support-annotations' }) testCompile 'junit:junit:4.12' + } buildscript { @@ -41,7 +45,9 @@ buildscript { dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' + classpath 'com.trickyandroid:jacoco-everywhere:0.2.1' } } -apply from: 'bintray.gradle'
\ No newline at end of file +apply from: 'bintray.gradle' +apply plugin: 'jacoco-everywhere'
\ No newline at end of file |