From 5aa966d6b0fd5afb2a84f01ab6501f6bfe82f762 Mon Sep 17 00:00:00 2001 From: renmin Date: Thu, 18 Jul 2019 23:07:01 +0800 Subject: [PATCH] update --- .travis.yml | 4 ++-- ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 135c3a7cc1..3d88a24765 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ matrix: components: - android-26 - extra-android-m2repository - - env: STATIC_CODE_ANALYSIS=true + - env: STATIC_CODE_ANALYSIS=true CHECK_C=true language: objective-c osx_image: xcode7.2 cache: @@ -128,7 +128,7 @@ script: ;; esac - if [[ "${STATIC_CODE_ANALYSIS}" = "true" ]]; then + if [[ ("${STATIC_CODE_ANALYSIS}" = "true") && ("${CHECK_C}" = "true") ]]; then hasCFile=$(npm run danger -- run --dangerfile ./dangerfile-static-check.js) echo "The value of hasIosFile is ${hasIosFile}" if [[ "$hasCFile" =~ "hasCFile" ]]; then diff --git a/ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h b/ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h index bbc18cf4e1..e27b2e181a 100644 --- a/ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h +++ b/ios/sdk/WeexSDK/Sources/Model/WXComponent_performance.h @@ -25,3 +25,4 @@ @property (nonatomic,assign) BOOL ignoreInteraction; @end +