From 789b90aec54fc0a61602cf1973246ed11abb0d5a Mon Sep 17 00:00:00 2001 From: mueller-ma <mueller-ma@users.noreply.github.com> Date: Tue, 9 Oct 2018 23:12:27 +0200 Subject: [PATCH] Remove Codecov (#1027) * Remove Codecov See https://github.com/openhab/openhab-android/issues/675#issuecomment-425722100 Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com> * Remove badge from Readme Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com> --- .codecov.yml | 31 ------------------------------- .travis.yml | 5 ----- README.md | 3 --- travis/coverage.sh | 18 ------------------ 4 files changed, 57 deletions(-) delete mode 100644 .codecov.yml delete mode 100644 travis/coverage.sh diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index c2d4db3c..00000000 --- a/.codecov.yml +++ /dev/null @@ -1,31 +0,0 @@ -codecov: - notify: - require_ci_to_pass: no - -coverage: - precision: 2 - round: down - range: "70...100" - - status: - project: yes - patch: yes - changes: no - -parsers: - gcov: - branch_detection: - conditional: yes - loop: yes - method: no - macro: no - -comment: - layout: "reach, diff, flags, files, footer" - behavior: default - require_changes: no - -ignore: - - "docs" - - "fastlane" - - "**/*.md" diff --git a/.travis.yml b/.travis.yml index 29923a89..5162ec5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,11 +41,6 @@ jobs: env: - desc="Build & test" if: tag != "-fdroid$" - - stage: test - script: bash travis/coverage.sh - env: - - desc="Codecov" - if: branch != l10n-crowdin AND tag != "-fdroid$" - stage: test script: bash travis/uploads.sh env: diff --git a/README.md b/README.md index 85334eb8..9c001998 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,6 @@ </a> <a href="https://crowdin.com/project/openhab-android"> <img src="https://d322cqt584bo4o.cloudfront.net/openhab-android/localized.svg"> - </a> - <a href="https://codecov.io/gh/openhab/openhab-android/branch/master"> - <img src="https://codecov.io/gh/openhab/openhab-android/branch/master/graph/badge.svg"> </a> <a href="https://www.bountysource.com/teams/openhab/issues?tracker_ids=968858"> <img src="https://www.bountysource.com/badge/tracker?tracker_id=968858"> diff --git a/travis/coverage.sh b/travis/coverage.sh deleted file mode 100644 index 7af6a9ae..00000000 --- a/travis/coverage.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -e - -releaseFlavor="stable" -releaseFlavorCapital="Stable" -packageName="org.openhab.habdroid" - -if $(echo "$TRAVIS_TAG" | grep -q "beta") -then - echo "Beta" - releaseFlavor="beta" - releaseFlavorCapital="Beta" - packageName="org.openhab.habdroid.beta" -fi - -time ./gradlew :mobile:jacocoTest{Foss,Full}${releaseFlavorCapital}DebugUnitTestReport -time bash <(curl -s https://codecov.io/bash) -- GitLab