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

Commit

Permalink
test ios travis
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 22, 2019
1 parent 7cba71b commit 615f84d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
2 changes: 0 additions & 2 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ android {
externalNativeBuild {
cmake {
path '../../weex_core/CMakeLists.txt'
arguments "-DANDROID_ARM_MODE=arm", "-DANDROID_STL=c++_shared"
cppFlags "-fsanitize=address -fno-omit-frame-pointer"
}
}

Expand Down
21 changes: 2 additions & 19 deletions dangerfile-ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,5 @@ if (!hasIosFile && danger.git.deleted_files) {
}

if(hasIosFile){
console.log('hasIosFile');
}
// console.log('-----------------------------hasIosFile-----------------------------:'+hasIosFile);
// if(hasIosFile){
// var runTestCmd='source ~/.bash_profile; '
// +'xcodebuild -project ios/sdk/WeexSDK.xcodeproj test '
// +'-scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO '
// +'-destination "platform=iOS Simulator,name=iPhone 6"'
// runSuccess = shell.exec(runTestCmd,{ async: false, timeout: 8 * 60 * 1000, maxBuffer: 200 * 1024 * 1024 }).code == 0;
// if(!runSuccess){
// fail("ios platform run unit test failed!");
// }
// }else{
// console.log('has no ios file changed.');
// message('has no ios file changed.');
// }
// message('ios test finished.')


console.log('hasIosFile!!!');
}
1 change: 1 addition & 0 deletions ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
@property (nonatomic,assign) BOOL ignoreInteraction;

@end

0 comments on commit 615f84d

Please sign in to comment.