Skip to content

Commit 48e7e16

Browse files
authored
Merge pull request alibaba#2055 from alibaba/dev-feature-add-ios-unittest
* [test] add travis config
2 parents c76e60b + 7d87c79 commit 48e7e16

File tree

3 files changed

+95
-2
lines changed

3 files changed

+95
-2
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
language: objective-c
2+
script: xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6'

ios/sdk/WeexSDK.xcodeproj/project.pbxproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -1159,9 +1159,8 @@
11591159
};
11601160
74C8963C1D2AC2210043B82A = {
11611161
CreatedOnToolsVersion = 8.0;
1162-
DevelopmentTeam = "Xing Zhang";
11631162
DevelopmentTeamName = "Nanjing Taobao Software Co., Ltd.";
1164-
ProvisioningStyle = Automatic;
1163+
ProvisioningStyle = Manual;
11651164
};
11661165
77D160FC1C02DBE70010B15B = {
11671166
CreatedOnToolsVersion = 7.1.1;
@@ -1404,6 +1403,7 @@
14041403
buildSettings = {
14051404
CLANG_ANALYZER_NONNULL = YES;
14061405
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1406+
DEVELOPMENT_TEAM = "";
14071407
HEADER_SEARCH_PATHS = (
14081408
"$(inherited)",
14091409
"$(PROJECT_DIR)/WeexSDK/Dependency",
@@ -1427,6 +1427,7 @@
14271427
buildSettings = {
14281428
CLANG_ANALYZER_NONNULL = YES;
14291429
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1430+
DEVELOPMENT_TEAM = "";
14301431
HEADER_SEARCH_PATHS = (
14311432
"$(inherited)",
14321433
"$(PROJECT_DIR)/WeexSDK/Dependency",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0800"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "NO"
13+
buildForArchiving = "NO"
14+
buildForAnalyzing = "NO">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "74C8963C1D2AC2210043B82A"
18+
BuildableName = "WeexSDKTests.xctest"
19+
BlueprintName = "WeexSDKTests"
20+
ReferencedContainer = "container:WeexSDK.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "74C8963C1D2AC2210043B82A"
36+
BuildableName = "WeexSDKTests.xctest"
37+
BlueprintName = "WeexSDKTests"
38+
ReferencedContainer = "container:WeexSDK.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<AdditionalOptions>
43+
</AdditionalOptions>
44+
</TestAction>
45+
<LaunchAction
46+
buildConfiguration = "Debug"
47+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
48+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49+
launchStyle = "0"
50+
useCustomWorkingDirectory = "NO"
51+
ignoresPersistentStateOnLaunch = "NO"
52+
debugDocumentVersioning = "YES"
53+
debugServiceExtension = "internal"
54+
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "74C8963C1D2AC2210043B82A"
59+
BuildableName = "WeexSDKTests.xctest"
60+
BlueprintName = "WeexSDKTests"
61+
ReferencedContainer = "container:WeexSDK.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
64+
<AdditionalOptions>
65+
</AdditionalOptions>
66+
</LaunchAction>
67+
<ProfileAction
68+
buildConfiguration = "Release"
69+
shouldUseLaunchSchemeArgsEnv = "YES"
70+
savedToolIdentifier = ""
71+
useCustomWorkingDirectory = "NO"
72+
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "74C8963C1D2AC2210043B82A"
77+
BuildableName = "WeexSDKTests.xctest"
78+
BlueprintName = "WeexSDKTests"
79+
ReferencedContainer = "container:WeexSDK.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
82+
</ProfileAction>
83+
<AnalyzeAction
84+
buildConfiguration = "Debug">
85+
</AnalyzeAction>
86+
<ArchiveAction
87+
buildConfiguration = "Release"
88+
revealArchiveInOrganizer = "YES">
89+
</ArchiveAction>
90+
</Scheme>

0 commit comments

Comments
 (0)