Fix CircleCI scripts

pull/145/head
Alinson S. Xavier 9 years ago
parent 922b234307
commit b749f7f391

@ -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:

@ -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

Loading…
Cancel
Save