diff --git a/circle.yml b/circle.yml index e7cc772c9..5197454b1 100644 --- a/circle.yml +++ b/circle.yml @@ -16,7 +16,7 @@ test: - adb shell input keyevent 82 - ./run_tests - cp -r app/build/outputs $CIRCLE_ARTIFACTS || echo ok - - bash <(curl -s https://codecov.io/bash) + - bash <(curl -s https://codecov.io/bash) || echo ok general: branches: ignore: diff --git a/run_tests b/run_tests index 2fc39a4ef..f3452d26f 100755 --- a/run_tests +++ b/run_tests @@ -14,13 +14,13 @@ fail() { exit 1 } -info "Running JVM tests..." -./gradlew :app:testDebugUnitTest >> $LOG 2>> $LOG || fail - info "Cleaning output directory..." rm -rf ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR} +info "Running JVM tests..." +./gradlew :app:testDebugUnitTest >> $LOG 2>> $LOG || fail + info "Building instrumentation APKs..." ./gradlew assembleDebug assembleAndroidTest >> $LOG 2>> $LOG || fail