Skip to content

Commit 112906b

Browse files
authored
Merge pull request #11 from devSC/feature-test-travis
Feature test travis
2 parents 7335b0f + b10be8f commit 112906b

File tree

4 files changed

+116
-1
lines changed

4 files changed

+116
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Demo/WSProgressHUD.xcodeproj/project.xcworkspace/xcuserdata/devSC.xcuserdatad
22
Demo/WSProgressHUD.xcodeproj/project.xcworkspace
33
Demo/WSProgressHUD.xcodeproj/project.xcworkspace/xcuserdata
4-
Demo/WSProgressHUD.xcodeproj
54
Demo/WSProgressHUD.xcodeproj/xcuserdata/devSC.xcuserdatad/xcschemes
65
Demo/WSProgressHUD.xcodeproj/xcuserdata
76
Demo/WSProgressHUD.xcodeproj/xcuserdata/devSC.xcuserdatad/xcdebugger

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: objective-c
2+
osx_image: xcode8.2
3+
4+
script: xcodebuild clean build -project Demo/WSProgressHUD.xcodeproj -scheme WSProgressHUD -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO build | xcpretty -c
5+
6+
7+
before_install:
8+
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
9+
10+
11+
# branches:
12+
# only:
13+
# - master
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0710"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "FEDB749A1B593589003DDB79"
18+
BuildableName = "WSProgressHUD.app"
19+
BlueprintName = "WSProgressHUD"
20+
ReferencedContainer = "container:WSProgressHUD.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 = "FEDB74B31B593589003DDB79"
36+
BuildableName = "WSProgressHUDTests.xctest"
37+
BlueprintName = "WSProgressHUDTests"
38+
ReferencedContainer = "container:WSProgressHUD.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "FEDB749A1B593589003DDB79"
46+
BuildableName = "WSProgressHUD.app"
47+
BlueprintName = "WSProgressHUD"
48+
ReferencedContainer = "container:WSProgressHUD.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</TestAction>
54+
<LaunchAction
55+
buildConfiguration = "Debug"
56+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
57+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
launchStyle = "0"
59+
useCustomWorkingDirectory = "NO"
60+
ignoresPersistentStateOnLaunch = "NO"
61+
debugDocumentVersioning = "YES"
62+
debugServiceExtension = "internal"
63+
allowLocationSimulation = "YES">
64+
<BuildableProductRunnable
65+
runnableDebuggingMode = "0">
66+
<BuildableReference
67+
BuildableIdentifier = "primary"
68+
BlueprintIdentifier = "FEDB749A1B593589003DDB79"
69+
BuildableName = "WSProgressHUD.app"
70+
BlueprintName = "WSProgressHUD"
71+
ReferencedContainer = "container:WSProgressHUD.xcodeproj">
72+
</BuildableReference>
73+
</BuildableProductRunnable>
74+
<AdditionalOptions>
75+
</AdditionalOptions>
76+
</LaunchAction>
77+
<ProfileAction
78+
buildConfiguration = "Release"
79+
shouldUseLaunchSchemeArgsEnv = "YES"
80+
savedToolIdentifier = ""
81+
useCustomWorkingDirectory = "NO"
82+
debugDocumentVersioning = "YES">
83+
<BuildableProductRunnable
84+
runnableDebuggingMode = "0">
85+
<BuildableReference
86+
BuildableIdentifier = "primary"
87+
BlueprintIdentifier = "FEDB749A1B593589003DDB79"
88+
BuildableName = "WSProgressHUD.app"
89+
BlueprintName = "WSProgressHUD"
90+
ReferencedContainer = "container:WSProgressHUD.xcodeproj">
91+
</BuildableReference>
92+
</BuildableProductRunnable>
93+
</ProfileAction>
94+
<AnalyzeAction
95+
buildConfiguration = "Debug">
96+
</AnalyzeAction>
97+
<ArchiveAction
98+
buildConfiguration = "Release"
99+
revealArchiveInOrganizer = "YES">
100+
</ArchiveAction>
101+
</Scheme>

Demo/WSProgressHUD/MMMaterialDesignSpinner.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ - (instancetype)initWithCoder:(NSCoder *)aDecoder {
3636

3737
- (void)awakeFromNib
3838
{
39+
[super awakeFromNib];
40+
3941
[self initialize];
4042
}
4143

0 commit comments

Comments
 (0)