Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
F-Droid
Client
Commits
26ce365c
Commit
26ce365c
authored
Feb 29, 2016
by
Daniel Martí
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable test coverage for Gitlab CI
parent
d6de4eb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
F-Droid/build.gradle
F-Droid/build.gradle
+3
-0
No files found.
.gitlab-ci.yml
View file @
26ce365c
...
...
@@ -35,5 +35,6 @@ test:
-
emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window &
-
./tools/wait-for-emulator
-
adb shell input keyevent
82
-
echo " == Running Android tests
on the 2.3.7 emulator
"
-
echo " == Running Android tests"
-
ADB_INSTALL_TIMEOUT=8 ./gradlew connectedCheck || { adb logcat -d '*:W'; exit 1; }
-
sed -n 's/.*"ctr2">\([0-9]*\)%<.*/Coverage - \1.0% covered\n/p' F-Droid/build/reports/coverage/debug/index.html
F-Droid/build.gradle
View file @
26ce365c
...
...
@@ -152,6 +152,9 @@ android {
shrinkResources
true
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
}
debug
{
testCoverageEnabled
=
true
}
}
compileOptions
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment