ci build fixes for android

This commit is contained in:
Ari Lazier 2016-11-15 05:08:26 -08:00
parent a53e802df3
commit ca3fb62c59
3 changed files with 4 additions and 2 deletions

View File

@ -47,7 +47,8 @@
"jsdoc": "rm -rf docs/output && jsdoc -c docs/conf.json", "jsdoc": "rm -rf docs/output && jsdoc -c docs/conf.json",
"lint": "eslint", "lint": "eslint",
"test": "scripts/test.sh", "test": "scripts/test.sh",
"install": "node-pre-gyp install --fallback-to-build" "install": "node-pre-gyp install --fallback-to-build",
"prepublish": "scripts/prepublish.sh"
}, },
"dependencies": { "dependencies": {
"nan": "^2.3.3", "nan": "^2.3.3",

View File

@ -8,5 +8,5 @@ cd "$(dirname "$0")/.."
if [ -n "$REALM_BUILD_ANDROID" ]; then if [ -n "$REALM_BUILD_ANDROID" ]; then
rm -rf android rm -rf android
(cd react-native/android && ./gradlew publishAndroid) (cd react-native/android && ./gradlew publishAndroid -PbuildWithSync=true)
fi fi

View File

@ -151,6 +151,7 @@ case "$TARGET" in
;; ;;
"react-tests-android") "react-tests-android")
[[ $CONFIGURATION == 'Debug' ]] && exit 0 [[ $CONFIGURATION == 'Debug' ]] && exit 0
XCPRETTY=false
pushd tests/react-test-app pushd tests/react-test-app