mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
Fix build(?)
This commit is contained in:
parent
b25fb3005e
commit
e4e5a249ba
2 changed files with 9 additions and 1 deletions
|
@ -8,7 +8,7 @@ pipeline:
|
|||
# build app and assemble APK, in debug mode
|
||||
- ./gradlew assembleDebug
|
||||
# run all the local unit tests of app module
|
||||
- ./gradlew :testDebug
|
||||
- ./gradlew :testGenericDebugUnitTest
|
||||
# run all the instrumented tests of app module - DISABLED until we get an stable setup for Espresso in Travis
|
||||
# - ./gradlew connectedDebugAndroidTest --info
|
||||
# install app, then assemble and install instrumented tests of app module
|
||||
|
|
|
@ -38,6 +38,13 @@ repositories {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.withType(Test) {
|
||||
/// increased logging for tests
|
||||
testLogging {
|
||||
events "passed", "skipped", "failed"
|
||||
}
|
||||
}
|
||||
|
||||
android {
|
||||
lintOptions {
|
||||
abortOnError true
|
||||
|
@ -96,6 +103,7 @@ android {
|
|||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE.txt'
|
||||
}
|
||||
|
||||
task checkstyle(type: Checkstyle) {
|
||||
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
||||
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
|
||||
|
|
Loading…
Reference in a new issue