Skip to content

Commit 3fdd8f9

Browse files
committed
Updated travis.yml for new project layout
And to automatically archive new versions.
1 parent 2a2464b commit 3fdd8f9

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

.travis.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1-
# reference: http://www.objc.io/issue-6/travis-ci.html
2-
31
language: objective-c
2+
osx_image: xcode7.2
3+
xcode_workspace: CacheKit.xcworkspace
4+
xcode_scheme: CacheKit
5+
xcode_sdk: iphonesimulator9.2
6+
env:
7+
global:
8+
- FRAMEWORK_NAME=CacheKit
49
before_install:
5-
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
6-
- cd Example && pod install && cd -
7-
script:
8-
- xctool test -workspace Example/CacheKit.xcworkspace -scheme CacheKit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
10+
- brew update
11+
- brew install carthage
12+
before_deploy:
13+
- carthage build --no-skip-current
14+
- carthage archive $FRAMEWORK_NAME
15+
deploy:
16+
provider: releases
17+
api_key:
18+
secure: FmSjotx7xtSYibODqnJH1ztGuucXWrhPOG4Yi6DCl4DdFD14pqNdPKbEpTUPsMyNmtiNZhrw5Ey8QCbhnL986eQhltsEGlGcY1V3lRdRd7BONuVEZ0kx/Fd5Br3p37Xz1FUAJnzM3M0Q14KPpUbYPRqyVhxPgfosl6SSkmmDpqQ=
19+
file: "$FRAMEWORK_NAME.framework.zip"
20+
skip_cleanup: true
21+
on:
22+
repo: davbeck/CacheKit
23+
tags: true

0 commit comments

Comments
 (0)