From c0e95bd4dae27d390ae934833b15f533b86b8ab1 Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 20 May 2017 13:35:57 -0400 Subject: [PATCH 1/2] do not emit xml results gradle will output the failures, so this is unnecessary --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a9ed0bf3c..70f45c3e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,5 @@ android: script: ./gradlew build lint findbugs test after_failure: -- cat app/build/outputs/lint-results.xml - cat app/build/reports/findbugs/findbugs.html - cat app/build/reports/tests/debug/index.html From 0eeadbf77f3ab718522a081c62e0f6a79a4a527d Mon Sep 17 00:00:00 2001 From: Branden Archer Date: Sat, 20 May 2017 13:36:23 -0400 Subject: [PATCH 2/2] Build only the release variant Building both debug and release was unnecessary, and only increased the time to validate a pull request --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 70f45c3e8..ea1122643 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ android: # The SDK version used to compile your project - android-23 -script: ./gradlew build lint findbugs test +script: ./gradlew assembleRelease testReleaseUnitTest lintRelease findbugs after_failure: - cat app/build/reports/findbugs/findbugs.html