forked from kgn/KGNCache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (25 loc) · 1.42 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: objective-c
osx_image: xcode8.2
env:
global:
- PROJECT=KGNCache
matrix:
- DESTINATION="OS=9.3,name=iPhone 6s Plus" SCHEME=$PROJECT-iOS SDK=iphonesimulator TEST=test
- DESTINATION="OS=9.2,name=Apple TV 1080p" SCHEME=$PROJECT-tvOS SDK=appletvsimulator TEST=test
- DESTINATION="OS=2.2,name=Apple Watch - 42mm" SCHEME=$PROJECT-watchOS SDK=watchsimulator TEST=
script:
- xcodebuild $TEST -project $PROJECT.xcodeproj -scheme $SCHEME -sdk $SDK -destination "$DESTINATION"
before_script:
- carthage bootstrap
before_deploy:
- carthage build --no-skip-current
- carthage archive $PROJECT
deploy:
provider: releases
api_key:
secure: kih0anzQ1VXd4kBxLk9y/p0ZMiEEO2TjfaHivRfAbkSzhh4Sff07i3frx9/08RbLDEuNtKRYUCUXYcrWfT1o/nUwaFjpHlMLdDgbdWbpwPYzkl+8bEyv2iv7+xmr839lh8xR+K8pGfwuleE3qY2q3WmuLxYJOOFlJGlzhvXTsAMgh72TAysXP7qFjmAOtl1cffQleBMZZ/J/X15iAu2rWAShYpVWZoXTOM8xgUE5H6gOpjPPOjCx2+kEfoKrC8sAX6KQjaydUnzw+mkrzZ2k48v+1cdgiZUxC66PKSnub5Hxjotd9+iZzTh1t5KkRPVUvmLFUgGTcY3lqWDzwt84ILke0rzQYqweltBjL4KwV53Widr9MgDV68AYd7y2qP+A9e1rOjXwkkDZDf/CIXOQ+4YYtMRfpRD6xsZySDOmshnnzuliKzofXOlmllFDyfjra3s2RdyZIlhz1Ap2pKhaa1+SEYKvdzk8AZihOGZKdK56skW4ScnYPGJRuqUKsPYczwx/gB7UIoapW4o5GusSh++O5/vmnWGiol3VSiBhjuMCRRr4yc9w1JFq4qDhNZbSMwdSf7lauGUncGds2sNZ70HoQ3ym/Nr6lWOBiiRtEj+jzBEhIr1d9Z/H8YGldyxS0lW0LwXvGWAtK+aQwH9SBrZ+14imdFTByqTgpglgvTo=
file: $PROJECT.framework.zip
skip_cleanup: true
on:
repo: kgn/$PROJECT
tags: true