From ef74c7acd69e76c4edfbac6f5cae103812062ee9 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Fri, 29 Dec 2017 23:36:55 +0100 Subject: [PATCH] Lower build verbosity on travis while still showing failed tests. --- .travis.yml | 2 +- android_app/app/build.gradle | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 465536bf..371ee3e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,4 +23,4 @@ after_success: - chmod +x ./upload_apk.sh - ./upload_apk.sh -script: cd android_app && ./gradlew -i testDebugUnitTest assembleDebug +script: cd android_app && ./gradlew testDebug assembleDebug diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle index 3fd5e2b1..1676bcdb 100644 --- a/android_app/app/build.gradle +++ b/android_app/app/build.gradle @@ -34,3 +34,11 @@ dependencies { testCompile 'junit:junit:4.12' } + +tasks.withType(Test) { + testLogging { + exceptionFormat "full" + events "started", "skipped", "passed", "failed" + showStandardStreams true + } +}