From 7de5d4d551c4d7b1d528c315b91b864180fe7a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 12 May 2016 15:21:48 +0100 Subject: [PATCH] Remove broken test coverage This never worked properly with the Gitlab UI. Now it's even more broken since we run the tests in different jobs. --- .gitlab-ci.yml | 1 - app/build.gradle | 3 --- 2 files changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ab0db1f9c..edf0f8cca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,7 +42,6 @@ connectedCheck: echo "read $log here:"; cat "$log" | curl --silent -F 'clbin=<-' https://clbin.com; done - - sed -n 's/.*"ctr2">\([0-9]*\)%<.*/Coverage - \1.0% covered\n/p' app/build/reports/coverage/debug/index.html # this file changes every time but should not be cached - rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock - exit $EXITVALUE diff --git a/app/build.gradle b/app/build.gradle index e5967b14b..303045455 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -139,9 +139,6 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' testProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'src/androidTest/proguard-rules.pro' } - debug { - testCoverageEnabled = true - } } compileOptions {