Extra - Added Codecov support
authorJeanderson Candido <jeandersonbc@gmail.com>
Wed, 20 Jun 2018 02:55:14 +0000 (23:55 -0300)
committerJeanderson Candido <jeandersonbc@gmail.com>
Wed, 20 Jun 2018 02:55:14 +0000 (23:55 -0300)
.travis.yml
README.md

index b87b43d..a713182 100644 (file)
@@ -6,6 +6,10 @@ jdk:
 script:
   - ./gradlew check --scan -s
 
+after_script:
+  - ./gradlew jacocoTestReport
+  - bash <(curl -s https://codecov.io/bash)
+
 before_cache:
   - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
   - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
index f57ccbe..b823cb0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
 # Java PathFinder [![Build Status](https://travis-ci.org/javapathfinder/jpf-core.svg?branch=master)](https://travis-ci.org/javapathfinder/jpf-core)
+[![codecov](https://codecov.io/gh/jeandersonbc/jpf-core/branch/gradle/graph/badge.svg)](https://codecov.io/gh/jeandersonbc/jpf-core)
 
 
 An extensible software model checking framework for Java bytecode programs