Skip to content

Commit d4746ee

Browse files
committed
Added travis and fastlane
1 parent 17aee4f commit d4746ee

File tree

6 files changed

+315
-0
lines changed

6 files changed

+315
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: objective-c
2+
3+
cache:
4+
- bundler
5+
6+
osx_image: xcode9.0
7+
8+
before_install:
9+
- bundle install
10+
11+
script:
12+
- bundle exec fastlane run_tests --verbose
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0830"
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 = "43AB8AE41F66E6A5003153B3"
18+
BuildableName = "CoreDataMigration-Example.app"
19+
BlueprintName = "CoreDataMigration-Example"
20+
ReferencedContainer = "container:CoreDataMigration-Example.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+
language = ""
30+
shouldUseLaunchSchemeArgsEnv = "YES">
31+
<Testables>
32+
<TestableReference
33+
skipped = "NO">
34+
<BuildableReference
35+
BuildableIdentifier = "primary"
36+
BlueprintIdentifier = "43AB8AFB1F66E6A5003153B3"
37+
BuildableName = "CoreDataMigration-ExampleTests.xctest"
38+
BlueprintName = "CoreDataMigration-ExampleTests"
39+
ReferencedContainer = "container:CoreDataMigration-Example.xcodeproj">
40+
</BuildableReference>
41+
</TestableReference>
42+
</Testables>
43+
<MacroExpansion>
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "43AB8AE41F66E6A5003153B3"
47+
BuildableName = "CoreDataMigration-Example.app"
48+
BlueprintName = "CoreDataMigration-Example"
49+
ReferencedContainer = "container:CoreDataMigration-Example.xcodeproj">
50+
</BuildableReference>
51+
</MacroExpansion>
52+
<AdditionalOptions>
53+
</AdditionalOptions>
54+
</TestAction>
55+
<LaunchAction
56+
buildConfiguration = "Debug"
57+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
58+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
59+
language = ""
60+
launchStyle = "0"
61+
useCustomWorkingDirectory = "NO"
62+
ignoresPersistentStateOnLaunch = "NO"
63+
debugDocumentVersioning = "YES"
64+
debugServiceExtension = "internal"
65+
allowLocationSimulation = "YES">
66+
<BuildableProductRunnable
67+
runnableDebuggingMode = "0">
68+
<BuildableReference
69+
BuildableIdentifier = "primary"
70+
BlueprintIdentifier = "43AB8AE41F66E6A5003153B3"
71+
BuildableName = "CoreDataMigration-Example.app"
72+
BlueprintName = "CoreDataMigration-Example"
73+
ReferencedContainer = "container:CoreDataMigration-Example.xcodeproj">
74+
</BuildableReference>
75+
</BuildableProductRunnable>
76+
<AdditionalOptions>
77+
</AdditionalOptions>
78+
</LaunchAction>
79+
<ProfileAction
80+
buildConfiguration = "Release"
81+
shouldUseLaunchSchemeArgsEnv = "YES"
82+
savedToolIdentifier = ""
83+
useCustomWorkingDirectory = "NO"
84+
debugDocumentVersioning = "YES">
85+
<BuildableProductRunnable
86+
runnableDebuggingMode = "0">
87+
<BuildableReference
88+
BuildableIdentifier = "primary"
89+
BlueprintIdentifier = "43AB8AE41F66E6A5003153B3"
90+
BuildableName = "CoreDataMigration-Example.app"
91+
BlueprintName = "CoreDataMigration-Example"
92+
ReferencedContainer = "container:CoreDataMigration-Example.xcodeproj">
93+
</BuildableReference>
94+
</BuildableProductRunnable>
95+
</ProfileAction>
96+
<AnalyzeAction
97+
buildConfiguration = "Debug">
98+
</AnalyzeAction>
99+
<ArchiveAction
100+
buildConfiguration = "Release"
101+
revealArchiveInOrganizer = "YES">
102+
</ArchiveAction>
103+
</Scheme>

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "fastlane", "2.56.0"

Gemfile.lock

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (2.3.5)
5+
addressable (2.5.2)
6+
public_suffix (>= 2.0.2, < 4.0)
7+
babosa (1.0.2)
8+
claide (1.0.2)
9+
colored (1.2)
10+
colored2 (3.1.2)
11+
commander-fastlane (4.4.5)
12+
highline (~> 1.7.2)
13+
declarative (0.0.10)
14+
declarative-option (0.1.0)
15+
domain_name (0.5.20170404)
16+
unf (>= 0.0.5, < 1.0.0)
17+
dotenv (2.2.1)
18+
excon (0.59.0)
19+
faraday (0.13.1)
20+
multipart-post (>= 1.2, < 3)
21+
faraday-cookie_jar (0.0.6)
22+
faraday (>= 0.7.4)
23+
http-cookie (~> 1.0.0)
24+
faraday_middleware (0.12.2)
25+
faraday (>= 0.7.4, < 1.0)
26+
fastimage (2.1.0)
27+
fastlane (2.56.0)
28+
CFPropertyList (>= 2.3, < 3.0.0)
29+
addressable (>= 2.3, < 3.0.0)
30+
babosa (>= 1.0.2, < 2.0.0)
31+
bundler (>= 1.12.0, < 2.0.0)
32+
colored
33+
commander-fastlane (>= 4.4.5, < 5.0.0)
34+
dotenv (>= 2.1.1, < 3.0.0)
35+
excon (>= 0.45.0, < 1.0.0)
36+
faraday (~> 0.9)
37+
faraday-cookie_jar (~> 0.0.6)
38+
faraday_middleware (~> 0.9)
39+
fastimage (>= 2.1.0, < 3.0.0)
40+
gh_inspector (>= 1.0.1, < 2.0.0)
41+
google-api-client (>= 0.13.1, < 0.14.0)
42+
highline (>= 1.7.2, < 2.0.0)
43+
json (< 3.0.0)
44+
mini_magick (~> 4.5.1)
45+
multi_json
46+
multi_xml (~> 0.5)
47+
multipart-post (~> 2.0.0)
48+
plist (>= 3.1.0, < 4.0.0)
49+
public_suffix (~> 2.0.0)
50+
rubyzip (>= 1.1.0, < 2.0.0)
51+
security (= 0.1.3)
52+
slack-notifier (>= 1.3, < 2.0.0)
53+
terminal-notifier (>= 1.6.2, < 2.0.0)
54+
terminal-table (>= 1.4.5, < 2.0.0)
55+
tty-screen (~> 0.5.0)
56+
word_wrap (~> 1.0.0)
57+
xcodeproj (>= 1.5.0, < 2.0.0)
58+
xcpretty (>= 0.2.4, < 1.0.0)
59+
xcpretty-travis-formatter (>= 0.0.3)
60+
gh_inspector (1.0.3)
61+
google-api-client (0.13.6)
62+
addressable (~> 2.5, >= 2.5.1)
63+
googleauth (~> 0.5)
64+
httpclient (>= 2.8.1, < 3.0)
65+
mime-types (~> 3.0)
66+
representable (~> 3.0)
67+
retriable (>= 2.0, < 4.0)
68+
googleauth (0.5.3)
69+
faraday (~> 0.12)
70+
jwt (~> 1.4)
71+
logging (~> 2.0)
72+
memoist (~> 0.12)
73+
multi_json (~> 1.11)
74+
os (~> 0.9)
75+
signet (~> 0.7)
76+
highline (1.7.8)
77+
http-cookie (1.0.3)
78+
domain_name (~> 0.5)
79+
httpclient (2.8.3)
80+
json (2.1.0)
81+
jwt (1.5.6)
82+
little-plugger (1.1.4)
83+
logging (2.2.2)
84+
little-plugger (~> 1.1)
85+
multi_json (~> 1.10)
86+
memoist (0.16.0)
87+
mime-types (3.1)
88+
mime-types-data (~> 3.2015)
89+
mime-types-data (3.2016.0521)
90+
mini_magick (4.5.1)
91+
multi_json (1.12.2)
92+
multi_xml (0.6.0)
93+
multipart-post (2.0.0)
94+
nanaimo (0.2.3)
95+
os (0.9.6)
96+
plist (3.3.0)
97+
public_suffix (2.0.5)
98+
representable (3.0.4)
99+
declarative (< 0.1.0)
100+
declarative-option (< 0.2.0)
101+
uber (< 0.2.0)
102+
retriable (3.1.1)
103+
rouge (2.0.7)
104+
rubyzip (1.2.1)
105+
security (0.1.3)
106+
signet (0.7.3)
107+
addressable (~> 2.3)
108+
faraday (~> 0.9)
109+
jwt (~> 1.5)
110+
multi_json (~> 1.10)
111+
slack-notifier (1.5.1)
112+
terminal-notifier (1.8.0)
113+
terminal-table (1.8.0)
114+
unicode-display_width (~> 1.1, >= 1.1.1)
115+
tty-screen (0.5.0)
116+
uber (0.1.0)
117+
unf (0.1.4)
118+
unf_ext
119+
unf_ext (0.0.7.4)
120+
unicode-display_width (1.3.0)
121+
word_wrap (1.0.0)
122+
xcodeproj (1.5.1)
123+
CFPropertyList (~> 2.3.3)
124+
claide (>= 1.0.2, < 2.0)
125+
colored2 (~> 3.1)
126+
nanaimo (~> 0.2.3)
127+
xcpretty (0.2.8)
128+
rouge (~> 2.0.7)
129+
xcpretty-travis-formatter (0.0.4)
130+
xcpretty (~> 0.2, >= 0.0.7)
131+
132+
PLATFORMS
133+
ruby
134+
135+
DEPENDENCIES
136+
fastlane (= 2.56.0)
137+
138+
BUNDLED WITH
139+
1.15.4

fastlane/Fastfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
fastlane_version "2.56.0"
2+
default_platform :ios
3+
4+
platform :ios do
5+
6+
# Common
7+
8+
lane :run_tests do
9+
scan(
10+
scheme: 'CoreDataMigration-Example',
11+
skip_build: true
12+
)
13+
end
14+
15+
end

fastlane/README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
fastlane documentation
2+
================
3+
# Installation
4+
5+
Make sure you have the latest version of the Xcode command line tools installed:
6+
7+
```
8+
xcode-select --install
9+
```
10+
11+
## Choose your installation method:
12+
13+
<table width="100%" >
14+
<tr>
15+
<th width="33%"><a href="http://brew.sh">Homebrew</a></td>
16+
<th width="33%">Installer Script</td>
17+
<th width="33%">Rubygems</td>
18+
</tr>
19+
<tr>
20+
<td width="33%" align="center">macOS</td>
21+
<td width="33%" align="center">macOS</td>
22+
<td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
23+
</tr>
24+
<tr>
25+
<td width="33%"><code>brew cask install fastlane</code></td>
26+
<td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
27+
<td width="33%"><code>sudo gem install fastlane -NV</code></td>
28+
</tr>
29+
</table>
30+
31+
# Available Actions
32+
## iOS
33+
### ios run_tests
34+
```
35+
fastlane ios run_tests
36+
```
37+
38+
39+
----
40+
41+
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
42+
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
43+
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

0 commit comments

Comments
 (0)