-
Notifications
You must be signed in to change notification settings - Fork 86
/
.travis.yml
31 lines (26 loc) · 1.39 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
31
language: objective-c
osx_image: xcode10.2
env:
global:
- FRAMEWORK_NAME=ClusterKit
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
install:
- gem install cocoapods
- gem install xcpretty --no-document --quiet
script:
- set -o pipefail && xcodebuild -project ClusterKit.xcodeproj -scheme $FRAMEWORK_NAME -sdk iphonesimulator12.2 -configuration Release -destination "platform=iOS Simulator,name=iPhone 8" clean build test | xcpretty -c
- pod lib lint --quick
before_deploy:
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
deploy:
provider: releases
api_key:
secure: SQh6dfiety7M8KOnIeRAE4f1m1YXswch/8t/3/AEXymp5v35o2DUQ0P9zLyJlwuOLF9zPrT10Po2p34K8DYClNeA+6n/f3ptGozLtXEm2Whl99i/Kq54H6v1XbiRTUR61t5qjTGqxQnR/POYSQAYU+gwt9/pQ5l3YVIrfeUIppgy8VQi0WzknzeEHOvdld9GvgJ5hetQNXctmMYGFTfYpqfUbAajcLhfvic/qrhZMmhPwCf5FLIbtkRxOcImqATHVtZ0JW/mXEDb5eatsfP1JpQJ9pclC/5K+1DWfGv+AA3QbSOod4JuDnJG9JYwWBjGmtKd+4TuiO8HzawlydpK3gE3vVBOSQB5EI646f2AlQaxzWZCCplFBsIbpGamTcv3KJ+Xy4lsT7AFfH6aqDQsspoZhgFbImSYrKJVD/rypmS7dsKknPjUk0w0z3D+cxkvCZ+VC4TkQW5IIvQoiGXP03Yqg3zF4jUhZywEDXFVYJqLIZpoVL8P8zAp8PMTkULMZCGsSkH+vFOzxa1DwK+BY1VVqocCF0tkothG+WrWeH0Cf1qBhYRortPnwgvx6ae7lOJyfAJLKXDHTY8R0y2CWm4mrAGKb/9/c+OVzK4Csw01oKJ4DFGiIi9AwNbaP0/U6b0ppGmLBB6YoL9RFDRzqsENWS/aiG9CGMRskw2GUsU=
file: $FRAMEWORK_NAME.framework.zip
skip_cleanup: true
on:
repo: hulab/ClusterKit
tags: true