From b5deb6d9c1853d50131c0383ea1e5f9b86e42323 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Wed, 23 Sep 2015 15:45:35 -0700 Subject: Make sure we clean after the coverity run If we try to test during the coverity scan, we get strange errors from the build system. Also, it seems to pollute the next non-coverity build, so make sure Travis cleans before trying to build again. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index b42b57d..c3ea0d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ addons: description: "The first SSH client for Android." notification_email: developers@connectbot.org build_command_prepend: "./gradlew clean" - build_command: "./gradlew build" + build_command: "./gradlew assemble" branch_pattern: coverity_scan before_script: @@ -54,7 +54,7 @@ android: - '.+' script: - - ./gradlew build check jacocoUnitTestDebugReport + - ./gradlew clean build check jacocoUnitTestDebugReport - ./scripts/check-lint-count.sh app/build/outputs/lint-results.xml $HOME/.cache/lint/lint-results.xml after_success: ./gradlew coveralls -- cgit v1.2.3