diff options
author | Kenny Root <kenny@the-b.org> | 2015-09-23 15:45:35 -0700 |
---|---|---|
committer | Kenny Root <kenny@the-b.org> | 2015-09-23 15:45:35 -0700 |
commit | b5deb6d9c1853d50131c0383ea1e5f9b86e42323 (patch) | |
tree | f2cf3f4256e2ae0e6bb7b1f2f73b492698cf029a | |
parent | c7dd4f78694c555530c641d659bd08cfab806bbd (diff) | |
download | connectbot-b5deb6d9c1853d50131c0383ea1e5f9b86e42323.tar.gz connectbot-b5deb6d9c1853d50131c0383ea1e5f9b86e42323.tar.bz2 connectbot-b5deb6d9c1853d50131c0383ea1e5f9b86e42323.zip |
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.
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |