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 + } +}