Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Travis iOS
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Oursky Limited
June 30, 2014
Programming
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Travis iOS
Oursky Limited
June 30, 2014
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
540
SSH Can
oursky
1
340
HTTP/2
oursky
0
380
watchOS2
oursky
0
370
Common QA issues
oursky
0
230
Complex is better than complicated
oursky
0
310
Clean code again
oursky
3
410
KiriKiri x O2 x NVLMarker
oursky
0
270
Flux + React
oursky
1
420
Other Decks in Programming
See All in Programming
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
Lessons from Spec-Driven Development
simas
PRO
0
220
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
170
Oxcを導入して開発体験が向上した話
yug1224
4
340
dRuby over BLE
makicamel
2
390
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
320
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
The NotImplementedError Problem in Ruby
koic
1
920
AIで効率化できた業務・日常
ochtum
0
140
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
はてなアカウント基盤 State of the Union
cockscomb
0
520
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
230
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
310
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
950
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Making Projects Easy
brettharned
120
6.7k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
730
The untapped power of vector embeddings
frankvandijk
2
1.8k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
400
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
780
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Transcript
Continuous Integration iOS on Travis
The idea • Atomic commits • Automated, test, build and
delivery • One version, aka. no branching
Actual steps • Write Test • Write Code • Push
- Github • Automated Test - Travis-CI • Automated distribution - TestFlight
Test in general • Input <—> Output Checking • Function
<—> State Checking • Actions <—> Behaviour Checking
Test in Xcode • XCTest automatically include since Xcode5 •
Press ⌘+U • xcodebuild • xctool - facebook xcodebuild with pretty print
Travis.yml language: objective-c script: - xctool test -workspace asosnewin.xcworkspace -scheme
asosnewin -sdk iphonesimulator7.0 ONLY_ACTIVE_ARCH=NO
Build,Sign and distribute • xctool -workspace asosnewin.xcworkspace -scheme asosnewin -sdk
iphoneos7.1 -configuration Release OBJROOT=$PWD/build SYMROOT=$PWD/build ONLY_ACTIVE_ARCH=NO • xcrun -log -sdk iphoneos PackageApplication "$APP_NAME.app" -o "$APP_NAME.ipa" -sign "$DEVELOPER_NAME" -embed "$PROVISIONING_PROFILE" • curl http://testflightapp.com/api/builds.json -F file="@$APP_NAME.ipa"
Setup Env on Travis • travis encrypt "APP_NAME=GIFCAM" —add •
Keys • Encrypt with openssl aes-256-cbc and checkin into github • decrypt the key and do security import on travis
Reference • http://www.objc.io/issue-6/travis-ci.html • http://martinfowler.com/articles/ mocksArentStubs.html • https://developer.apple.com/library/ios/ documentation/ToolsLanguages/Conceptual/ Xcode_Overview/UnitTestYourApp/
UnitTestYourApp.html