From 9f1aedb56d261b762392183a5174b80c62ec1cc9 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 16 Mar 2016 17:42:01 +0300 Subject: [PATCH] CB-10888 Enable coverage reports collection via codecov --- .travis.yml | 6 +++++- README.md | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 88f8cccf..cc9df1d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,11 @@ language: android sudo: false install: - npm install + - npm install -g codecov - echo y | android update sdk -u --filter android-22,android-23 script: - - npm test + - npm run jshint + - npm run cover - npm run test-build +after_script: + - codecov diff --git a/README.md b/README.md index 6fc84bc3..fec5f7d2 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ [![Build status](https://ci.appveyor.com/api/projects/status/github/apache/cordova-android?branch=master)](https://ci.appveyor.com/project/Humbedooh/cordova-android) [![Build Status](https://travis-ci.org/apache/cordova-android.svg?branch=master)](https://travis-ci.org/apache/cordova-android) +[![codecov.io](https://codecov.io/github/apache/cordova-android/coverage.svg?branch=master)](https://codecov.io/github/apache/cordova-android?branch=master) # Cordova Android