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