diff options
author | ByteHamster <info@bytehamster.com> | 2018-05-27 19:30:01 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-05-27 19:30:01 +0200 |
commit | 7e59ac0e75003f5f6f0d7d315104bcf095b8dfb6 (patch) | |
tree | dec3b3ea87ed63816003fb41929c4f9c371a1fcc | |
parent | fe92c98661e3b0817aed2c26dee258b0a572dd5e (diff) | |
download | AntennaPod-7e59ac0e75003f5f6f0d7d315104bcf095b8dfb6.zip |
Executing core unit tests on CircleCI
-rw-r--r-- | .circleci/config.yml | 2 | ||||
-rw-r--r-- | core/build.gradle | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 256b3b882..bec559ed2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: - v1-android- - run: - command: ./gradlew assembleDebug -PdisablePreDex + command: ./gradlew assembleDebug :core:testPlayDebugUnitTest -PdisablePreDex no_output_timeout: 1800 - store_artifacts: diff --git a/core/build.gradle b/core/build.gradle index 649a078a5..eb857269a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -84,6 +84,15 @@ dependencies { } +tasks.withType(Test) { + testLogging { + exceptionFormat "full" + events "skipped", "passed", "failed" + showStandardStreams true + displayGranularity 2 + } +} + allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { |