Skip to content

Commit 06f2160

Browse files
author
Chris Pilcher
authored
Merge pull request kodecocodes#143 from chris-pilcher/xctool
Replacing xcodebuild with xctool on Travis CI
2 parents 5f31d0f + 7839c76 commit 06f2160

File tree

36 files changed

+1358
-27
lines changed

36 files changed

+1358
-27
lines changed

.travis.yml

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,36 @@
11
language: objective-c
22
osx_image: xcode7.3
3+
sudo: false
34

45
script:
56

6-
- xcodebuild test -project ./All-Pairs\ Shortest\ Paths/APSP/APSP.xcodeproj -scheme APSPTests
7-
- xcodebuild test -project ./Array2D/Tests/Tests.xcodeproj -scheme Tests
8-
- xcodebuild test -project ./AVL\ Tree/Tests/Tests.xcodeproj -scheme Tests
9-
- xcodebuild test -project ./Binary\ Search/Tests/Tests.xcodeproj -scheme Tests
10-
- xcodebuild test -project ./Binary\ Search\ Tree/Solution\ 1/Tests/Tests.xcodeproj -scheme Tests
11-
- xcodebuild test -project ./Bloom\ Filter/Tests/Tests.xcodeproj -scheme Tests
12-
- xcodebuild test -project ./Breadth-First\ Search/Tests/Tests.xcodeproj -scheme Tests
13-
- xcodebuild test -project ./Bucket\ Sort/Tests/Tests.xcodeproj -scheme Tests
14-
- xcodebuild test -project ./Heap/Tests/Tests.xcodeproj -scheme Tests
15-
- xcodebuild test -project ./Heap\ Sort/Tests/Tests.xcodeproj -scheme Tests
16-
- xcodebuild test -project ./Insertion\ Sort/Tests/Tests.xcodeproj -scheme Tests
17-
- xcodebuild test -project ./K-Means/Tests/Tests.xcodeproj -scheme Tests
18-
- xcodebuild test -project ./Linked\ List/Tests/Tests.xcodeproj -scheme Tests
19-
- xcodebuild test -project ./Longest\ Common\ Subsequence/Tests/Tests.xcodeproj -scheme Tests
20-
- xcodebuild test -project ./Priority\ Queue/Tests/Tests.xcodeproj -scheme Tests
21-
- xcodebuild test -project ./Queue/Tests/Tests.xcodeproj -scheme Tests
22-
- xcodebuild test -project ./Quicksort/Tests/Tests.xcodeproj -scheme Tests
23-
- xcodebuild test -project ./Run-Length\ Encoding/Tests/Tests.xcodeproj -scheme Tests
24-
- xcodebuild test -project ./Select\ Minimum\ Maximum/Tests/Tests.xcodeproj -scheme Tests
25-
- xcodebuild test -project ./Selection\ Sort/Tests/Tests.xcodeproj -scheme Tests
26-
- xcodebuild test -project ./Shell\ Sort/Tests/Tests.xcodeproj -scheme Tests
27-
- xcodebuild test -project ./Single-Source\ Shortest\ Paths\ \(Weighted\)/SSSP.xcodeproj -scheme SSSPTests
28-
- xcodebuild test -project ./Stack/Tests/Tests.xcodeproj -scheme Tests
7+
- xctool test -project ./All-Pairs\ Shortest\ Paths/APSP/APSP.xcodeproj -scheme APSPTests
8+
- xctool test -project ./Array2D/Tests/Tests.xcodeproj -scheme Tests
9+
- xctool test -project ./AVL\ Tree/Tests/Tests.xcodeproj -scheme Tests
10+
- xctool test -project ./Binary\ Search/Tests/Tests.xcodeproj -scheme Tests
11+
- xctool test -project ./Binary\ Search\ Tree/Solution\ 1/Tests/Tests.xcodeproj -scheme Tests
12+
- xctool test -project ./Bloom\ Filter/Tests/Tests.xcodeproj -scheme Tests
13+
- xctool test -project ./Bounded\ Priority\ Queue/Tests/Tests.xcodeproj -scheme Tests
14+
- xctool test -project ./Breadth-First\ Search/Tests/Tests.xcodeproj -scheme Tests
15+
- xctool test -project ./Bucket\ Sort/Tests/Tests.xcodeproj -scheme Tests
16+
- xctool test -project ./Counting\ Sort/Tests/Tests.xcodeproj -scheme Tests
17+
- xctool test -project ./Depth-First\ Search/Tests/Tests.xcodeproj -scheme Tests
18+
- xctool test -project ./Graph/Graph.xcodeproj -scheme GraphTests
19+
- xctool test -project ./Heap/Tests/Tests.xcodeproj -scheme Tests
20+
- xctool test -project ./Heap\ Sort/Tests/Tests.xcodeproj -scheme Tests
21+
- xctool test -project ./Insertion\ Sort/Tests/Tests.xcodeproj -scheme Tests
22+
- xctool test -project ./K-Means/Tests/Tests.xcodeproj -scheme Tests
23+
- xctool test -project ./Linked\ List/Tests/Tests.xcodeproj -scheme Tests
24+
- xctool test -project ./Longest\ Common\ Subsequence/Tests/Tests.xcodeproj -scheme Tests
25+
- xctool test -project ./Minimum\ Spanning\ Tree\ \(Unweighted\)/Tests/Tests.xcodeproj -scheme Tests
26+
- xctool test -project ./Priority\ Queue/Tests/Tests.xcodeproj -scheme Tests
27+
- xctool test -project ./Queue/Tests/Tests.xcodeproj -scheme Tests
28+
- xctool test -project ./Quicksort/Tests/Tests.xcodeproj -scheme Tests
29+
- xctool test -project ./Run-Length\ Encoding/Tests/Tests.xcodeproj -scheme Tests
30+
- xctool test -project ./Select\ Minimum\ Maximum/Tests/Tests.xcodeproj -scheme Tests
31+
- xctool test -project ./Selection\ Sort/Tests/Tests.xcodeproj -scheme Tests
32+
- xctool test -project ./Shell\ Sort/Tests/Tests.xcodeproj -scheme Tests
33+
- xctool test -project ./Shortest\ Path\ \(Unweighted\)/Tests/Tests.xcodeproj -scheme Tests
34+
- xctool test -project ./Single-Source\ Shortest\ Paths\ \(Weighted\)/SSSP.xcodeproj -scheme SSSPTests
35+
- xctool test -project ./Stack/Tests/Tests.xcodeproj -scheme Tests
36+
- xctool test -project ./Topological\ Sort/Tests/Tests.xcodeproj -scheme Tests

AVL Tree/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "7B2BBC7F1C779D720067B71D"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:Tests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
59+
BuildableName = "Tests.xctest"
60+
BlueprintName = "Tests"
61+
ReferencedContainer = "container:Tests.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
77+
BuildableName = "Tests.xctest"
78+
BlueprintName = "Tests"
79+
ReferencedContainer = "container:Tests.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">

All-Pairs Shortest Paths/APSP/APSP.xcodeproj/xcshareddata/xcschemes/APSPTests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "493D8DDF1CDD2A1C0089795A"
18+
BuildableName = "APSPTests.xctest"
19+
BlueprintName = "APSPTests"
20+
ReferencedContainer = "container:APSP.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "493D8DDF1CDD2A1C0089795A"
59+
BuildableName = "APSPTests.xctest"
60+
BlueprintName = "APSPTests"
61+
ReferencedContainer = "container:APSP.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "493D8DDF1CDD2A1C0089795A"
77+
BuildableName = "APSPTests.xctest"
78+
BlueprintName = "APSPTests"
79+
ReferencedContainer = "container:APSP.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">

Array2D/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "7B2BBC7F1C779D720067B71D"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:Tests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
59+
BuildableName = "Tests.xctest"
60+
BlueprintName = "Tests"
61+
ReferencedContainer = "container:Tests.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
77+
BuildableName = "Tests.xctest"
78+
BlueprintName = "Tests"
79+
ReferencedContainer = "container:Tests.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">

Binary Search Tree/Solution 1/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "7B2BBC7F1C779D720067B71D"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:Tests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
59+
BuildableName = "Tests.xctest"
60+
BlueprintName = "Tests"
61+
ReferencedContainer = "container:Tests.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
77+
BuildableName = "Tests.xctest"
78+
BlueprintName = "Tests"
79+
ReferencedContainer = "container:Tests.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">

Binary Search/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "7B2BBC7F1C779D720067B71D"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:Tests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
59+
BuildableName = "Tests.xctest"
60+
BlueprintName = "Tests"
61+
ReferencedContainer = "container:Tests.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
77+
BuildableName = "Tests.xctest"
78+
BlueprintName = "Tests"
79+
ReferencedContainer = "container:Tests.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">

Bloom Filter/Tests/Tests.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
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 = "7B2BBC7F1C779D720067B71D"
18+
BuildableName = "Tests.xctest"
19+
BlueprintName = "Tests"
20+
ReferencedContainer = "container:Tests.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
824
</BuildAction>
925
<TestAction
1026
buildConfiguration = "Debug"
@@ -36,6 +52,15 @@
3652
debugDocumentVersioning = "YES"
3753
debugServiceExtension = "internal"
3854
allowLocationSimulation = "YES">
55+
<MacroExpansion>
56+
<BuildableReference
57+
BuildableIdentifier = "primary"
58+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
59+
BuildableName = "Tests.xctest"
60+
BlueprintName = "Tests"
61+
ReferencedContainer = "container:Tests.xcodeproj">
62+
</BuildableReference>
63+
</MacroExpansion>
3964
<AdditionalOptions>
4065
</AdditionalOptions>
4166
</LaunchAction>
@@ -45,6 +70,15 @@
4570
savedToolIdentifier = ""
4671
useCustomWorkingDirectory = "NO"
4772
debugDocumentVersioning = "YES">
73+
<MacroExpansion>
74+
<BuildableReference
75+
BuildableIdentifier = "primary"
76+
BlueprintIdentifier = "7B2BBC7F1C779D720067B71D"
77+
BuildableName = "Tests.xctest"
78+
BlueprintName = "Tests"
79+
ReferencedContainer = "container:Tests.xcodeproj">
80+
</BuildableReference>
81+
</MacroExpansion>
4882
</ProfileAction>
4983
<AnalyzeAction
5084
buildConfiguration = "Debug">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
6+
<false/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)