Run Android tests with Gradle
Summary: Make sure that the gradle tests pass before publishing the snapshot. Also makes sure that we don't break the gradle build. Reviewed By: emilsjolander Differential Revision: D5020044 fbshipit-source-id: dfebd829701717eac3ed078a807cd10f489f4348
This commit is contained in:
committed by
Facebook Github Bot
parent
2fb01daf70
commit
a141ebfb50
@@ -114,6 +114,7 @@ script:
|
|||||||
- |
|
- |
|
||||||
if [[ $TARGET = "android" ]]; then
|
if [[ $TARGET = "android" ]]; then
|
||||||
buck build --verbose 0 //android/sample:sample &&
|
buck build --verbose 0 //android/sample:sample &&
|
||||||
|
./gradlew testDebugUnit &&
|
||||||
scripts/publish-snapshot.sh
|
scripts/publish-snapshot.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user