Skip to content

Commit 3f241d2

Browse files
committed
Configure travis CI
1 parent 99c3624 commit 3f241d2

File tree

3 files changed

+121
-2
lines changed

3 files changed

+121
-2
lines changed

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: objective-c
2+
before_install:
3+
- gem install cocoapods --no-document
4+
- gem install xcpretty --no-document
5+
script:
6+
- set -o pipefail
7+
- xcodebuild -workspace JWT.xcworkspace -scheme JWT test -sdk macosx | xcpretty -c
8+
- xcodebuild -workspace JWT.xcworkspace -scheme JWT test -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
9+
- pod lib lint

JWT.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
415415
GCC_WARN_UNUSED_FUNCTION = YES;
416416
GCC_WARN_UNUSED_VARIABLE = YES;
417-
MACOSX_DEPLOYMENT_TARGET = 10.10;
417+
MACOSX_DEPLOYMENT_TARGET = 10.9;
418418
MTL_ENABLE_DEBUG_INFO = YES;
419419
ONLY_ACTIVE_ARCH = YES;
420420
SDKROOT = macosx;
@@ -453,7 +453,7 @@
453453
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
454454
GCC_WARN_UNUSED_FUNCTION = YES;
455455
GCC_WARN_UNUSED_VARIABLE = YES;
456-
MACOSX_DEPLOYMENT_TARGET = 10.10;
456+
MACOSX_DEPLOYMENT_TARGET = 10.9;
457457
MTL_ENABLE_DEBUG_INFO = NO;
458458
SDKROOT = macosx;
459459
VERSIONING_SYSTEM = "apple-generic";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0620"
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 = "279D639B1AD07FFF0024E2BC"
18+
BuildableName = "JWT.framework"
19+
BlueprintName = "JWT"
20+
ReferencedContainer = "container:JWT.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "YES"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "279D63A61AD07FFF0024E2BC"
32+
BuildableName = "JWTTests.xctest"
33+
BlueprintName = "JWTTests"
34+
ReferencedContainer = "container:JWT.xcodeproj">
35+
</BuildableReference>
36+
</BuildActionEntry>
37+
</BuildActionEntries>
38+
</BuildAction>
39+
<TestAction
40+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
41+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42+
shouldUseLaunchSchemeArgsEnv = "YES"
43+
buildConfiguration = "Debug">
44+
<Testables>
45+
<TestableReference
46+
skipped = "NO">
47+
<BuildableReference
48+
BuildableIdentifier = "primary"
49+
BlueprintIdentifier = "279D63A61AD07FFF0024E2BC"
50+
BuildableName = "JWTTests.xctest"
51+
BlueprintName = "JWTTests"
52+
ReferencedContainer = "container:JWT.xcodeproj">
53+
</BuildableReference>
54+
</TestableReference>
55+
</Testables>
56+
<MacroExpansion>
57+
<BuildableReference
58+
BuildableIdentifier = "primary"
59+
BlueprintIdentifier = "279D639B1AD07FFF0024E2BC"
60+
BuildableName = "JWT.framework"
61+
BlueprintName = "JWT"
62+
ReferencedContainer = "container:JWT.xcodeproj">
63+
</BuildableReference>
64+
</MacroExpansion>
65+
</TestAction>
66+
<LaunchAction
67+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
68+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
69+
launchStyle = "0"
70+
useCustomWorkingDirectory = "NO"
71+
buildConfiguration = "Debug"
72+
ignoresPersistentStateOnLaunch = "NO"
73+
debugDocumentVersioning = "YES"
74+
allowLocationSimulation = "YES">
75+
<MacroExpansion>
76+
<BuildableReference
77+
BuildableIdentifier = "primary"
78+
BlueprintIdentifier = "279D639B1AD07FFF0024E2BC"
79+
BuildableName = "JWT.framework"
80+
BlueprintName = "JWT"
81+
ReferencedContainer = "container:JWT.xcodeproj">
82+
</BuildableReference>
83+
</MacroExpansion>
84+
<AdditionalOptions>
85+
</AdditionalOptions>
86+
</LaunchAction>
87+
<ProfileAction
88+
shouldUseLaunchSchemeArgsEnv = "YES"
89+
savedToolIdentifier = ""
90+
useCustomWorkingDirectory = "NO"
91+
buildConfiguration = "Release"
92+
debugDocumentVersioning = "YES">
93+
<MacroExpansion>
94+
<BuildableReference
95+
BuildableIdentifier = "primary"
96+
BlueprintIdentifier = "279D639B1AD07FFF0024E2BC"
97+
BuildableName = "JWT.framework"
98+
BlueprintName = "JWT"
99+
ReferencedContainer = "container:JWT.xcodeproj">
100+
</BuildableReference>
101+
</MacroExpansion>
102+
</ProfileAction>
103+
<AnalyzeAction
104+
buildConfiguration = "Debug">
105+
</AnalyzeAction>
106+
<ArchiveAction
107+
buildConfiguration = "Release"
108+
revealArchiveInOrganizer = "YES">
109+
</ArchiveAction>
110+
</Scheme>

0 commit comments

Comments
 (0)