Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Travis iOS
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Oursky Limited
June 30, 2014
Programming
210
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
570
SSH Can
oursky
1
350
HTTP/2
oursky
0
390
watchOS2
oursky
0
380
Common QA issues
oursky
0
250
Complex is better than complicated
oursky
0
320
Clean code again
oursky
3
420
KiriKiri x O2 x NVLMarker
oursky
0
280
Flux + React
oursky
1
420
Other Decks in Programming
See All in Programming
wkhtmltopdfの次どうするか問題2026
willnet
2
1.5k
App Intentsのビルドプロセスを支える技術
kntkymt
0
400
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
700
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.8k
FreeBSDでZabbixを動かす
kenkino
0
310
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
290
setup-vp GitLab対応の裏側
naokihaba
0
110
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
130
What We Talk About When We Talk About XP
m_seki
2
660
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.3k
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
Utilizing Notion as your number one productivity tool
mfonobong
4
590
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
How GitHub (no longer) Works
holman
316
150k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
240
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
600
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.9k
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