Fix CircleCI scripts

This commit is contained in:
2016-06-29 20:11:39 -04:00
parent 922b234307
commit b749f7f391
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ test:
- adb shell input keyevent 82 - adb shell input keyevent 82
- ./run_tests - ./run_tests
- cp -r app/build/outputs $CIRCLE_ARTIFACTS || echo ok - 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: general:
branches: branches:
ignore: ignore:

View File

@@ -14,13 +14,13 @@ fail() {
exit 1 exit 1
} }
info "Running JVM tests..."
./gradlew :app:testDebugUnitTest >> $LOG 2>> $LOG || fail
info "Cleaning output directory..." info "Cleaning output directory..."
rm -rf ${OUTPUT_DIR} rm -rf ${OUTPUT_DIR}
mkdir -p ${OUTPUT_DIR} mkdir -p ${OUTPUT_DIR}
info "Running JVM tests..."
./gradlew :app:testDebugUnitTest >> $LOG 2>> $LOG || fail
info "Building instrumentation APKs..." info "Building instrumentation APKs..."
./gradlew assembleDebug assembleAndroidTest >> $LOG 2>> $LOG || fail ./gradlew assembleDebug assembleAndroidTest >> $LOG 2>> $LOG || fail