Skip to content

Commit

Permalink
Fix CircleCI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
iSoron committed Jun 30, 2016
1 parent 922b234 commit b749f7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b749f7f

Please sign in to comment.