mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix CircleCI scripts
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user