Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
add new line in android/sdk/src/main/java/com/taobao/weex/adapter/Cla…
Browse files Browse the repository at this point in the history
…ssLoaderAdapter.java
  • Loading branch information
wrmswindmill committed Jul 21, 2019
1 parent dc625cf commit 82c5bb6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
66 changes: 33 additions & 33 deletions .travis.yml
Expand Up @@ -99,46 +99,46 @@ install:
script:
- |
case $TEST_SUITE in
"android")
case $ABI in
"armeabi-v7a" )
GRADLE_ABI="-PsupportArmeabi-v7a=true -PsupportArm64-v8a=false -PsupportX86=false"
;;
"arm64-v8a" )
GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=true -PsupportX86=false"
;;
"x86" )
GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=false -PsupportX86=true"
;;
"*" )
GRADLE_ABI=""
;;
esac
# "android")
# case $ABI in
# "armeabi-v7a" )
# GRADLE_ABI="-PsupportArmeabi-v7a=true -PsupportArm64-v8a=false -PsupportX86=false"
# ;;
# "arm64-v8a" )
# GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=true -PsupportX86=false"
# ;;
# "x86" )
# GRADLE_ABI="-PsupportArmeabi-v7a=false -PsupportArm64-v8a=false -PsupportX86=true"
# ;;
# "*" )
# GRADLE_ABI=""
# ;;
# esac
hasAndroidFile=$(npm run danger -- run --dangerfile ./dangerfile-android.js)
echo "The value of hasAndroidFile is ${hasAndroidFile}"
if [[ "$hasAndroidFile" =~ "hasAndroidFile" ]]; then
cd android
./gradlew clean install -PbuildRuntimeApi=true ${GRADLE_ABI} --info
./gradlew install -PbuildRuntimeApi=false ${GRADLE_ABI} --info
fi
;;
# hasAndroidFile=$(npm run danger -- run --dangerfile ./dangerfile-android.js)
# echo "The value of hasAndroidFile is ${hasAndroidFile}"
# if [[ "$hasAndroidFile" =~ "hasAndroidFile" ]]; then
# cd android
# ./gradlew clean install -PbuildRuntimeApi=true ${GRADLE_ABI} --info
# ./gradlew install -PbuildRuntimeApi=false ${GRADLE_ABI} --info
# fi
# ;;
"jsfm" )
npm run danger -- run --dangerfile ./dangerfile-jsfm.js
;;
"danger" )
npm run danger -- run --dangerfile ./dangerfile.js
;;
"ios" )
hasIosFile=$(npm run danger -- run --dangerfile ./dangerfile-ios.js)
echo "The value of hasIosFile is ${hasIosFile}"
if [[ "$hasIosFile" =~ "hasIosFile" ]]; then
# build WeexSDK and run WeexSDKTests
xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" | egrep -A 5 "(error|warning)
# build WeexDemo and run WeexDemo test
xcodebuild -workspace weex-playground/ios/WeexDemo.xcworkspace test -scheme WeexDemo CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" | egrep -A 5 "(error|warning)
fi
;;
# "ios" )
# hasIosFile=$(npm run danger -- run --dangerfile ./dangerfile-ios.js)
# echo "The value of hasIosFile is ${hasIosFile}"
# if [[ "$hasIosFile" =~ "hasIosFile" ]]; then
# # build WeexSDK and run WeexSDKTests
# xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" | egrep -A 5 "(error|warning)
# # build WeexDemo and run WeexDemo test
# xcodebuild -workspace weex-playground/ios/WeexDemo.xcworkspace test -scheme WeexDemo CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" | egrep -A 5 "(error|warning)
# fi
# ;;
esac
if [[ ("${STATIC_CODE_ANALYSIS}" = "true") && ("${CHECK_C}" = "true") ]]; then
Expand Down
Expand Up @@ -52,4 +52,4 @@ public Class<? extends WXComponent> getComponentClass(String name, String classN
}
}

}
}

0 comments on commit 82c5bb6

Please sign in to comment.