Skip to content

Commit d3500bb

Browse files
committed
Update .travis.yml to push carthage builds
1 parent 853567f commit d3500bb

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.travis.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
language: objective-c
2-
osx_image: xcode7
2+
osx_image: xcode7.1
3+
xcode_workspace: PusherSwift.xcworkspace
4+
xcode_scheme: PusherSwift
5+
xcode_sdk: iphonesimulator9.1
6+
before_install:
7+
- brew update
8+
- brew install carthage
39
script:
4-
- xcodebuild test -workspace PusherSwift.xcworkspace -scheme PusherSwiftTests -destination OS=9.0,name=iPhone\ 6 -sdk iphonesimulator9.0 ONLY_ACTIVE_ARCH=NO
10+
- xcodebuild test -workspace PusherSwift.xcworkspace -scheme PusherSwiftTests -destination OS=9.0,name=iPhone\ 6 -sdk iphonesimulator9.0 ONLY_ACTIVE_ARCH=NO
11+
before_deploy:
12+
- carthage build --no-skip-current --verbose
13+
- carthage archive PusherSwift
14+
deploy:
15+
provider: releases
16+
api_key:
17+
secure: JX093TPx+8Rvgd58s5KkmQQM0/i2cwSiSfRydqFHmN96wny5DHxxF0GOj/4kERHMS7R/gQYXCDtAoEAe0OP0ULD9PLH9D51G6KZQ1LKQPpzOK4ydJc3o9/CvcSrJpWmgSoGquOH0EITXxR4xaP3QrvmFx5mV48XHuZbMRjUlR8I=
18+
file:
19+
- "PusherSwift.framework.zip"
20+
skip_cleanup: true
21+
on:
22+
repo: pusher-community/pusher-websocket-swift
23+
tags: true

0 commit comments

Comments
 (0)