From d5d819925ee4d47ae00a5bf0723c0e4230b77eec Mon Sep 17 00:00:00 2001 From: "elena.parovyshnaya" Date: Tue, 5 Nov 2019 18:46:06 +0300 Subject: [PATCH 1/2] gh16 Employ test coverage analysis tool -- Travis CI is configured to run verification with test coverage tool to produce data file for CodeCov GitHub app Signed-off-by: Elena Parovyshnaia --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1b223e962..811cf5cd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ before_install: echo "MAVEN_OPTS='-Xmx2048m'" > ~/.mavenrc install: true -script: mvn clean verify +script: mvn clean verify -Pcoverage From 9874dc452126643f2ca7e34d40725437eee37721 Mon Sep 17 00:00:00 2001 From: "elena.parovyshnaya" Date: Tue, 5 Nov 2019 18:50:09 +0300 Subject: [PATCH 2/2] gh16 Employ test coverage analysis tool -- add CodeCov badge to README Signed-off-by: Elena Parovyshnaia --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ae3b192c5..0435729d6 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9b7ac68ec46a4d58b6e33c5d96a34d42)](https://www.codacy.com/manual/eclipse_2/passage?utm_source=github.com&utm_medium=referral&utm_content=eclipse/passage&utm_campaign=Badge_Grade) +[![codecov](https://codecov.io/gh/eclipse/passage/branch/master/graph/badge.svg)](https://codecov.io/gh/eclipse/passage) + The Passage LIC is a part of the [Eclipse Passage](https://projects.eclipse.org/projects/technology.passage) solution. This component verifies that the software has sufficient license grants in accordance with the specified licensing requirements. The Equinox-based implementation includes various validators for the time-limited, node-locked and other types of licenses.