-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
26 lines (22 loc) · 1.29 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
language: objective-c
osx_image: xcode11
env:
global:
- PROJECT=KGNAutoLayout
matrix:
- DESTINATION="OS=13.0,name=iPhone 8" SCHEME=$PROJECT-iOS SDK=iphonesimulator TEST=test
- DESTINATION="OS=13.0,name=Apple TV 1080p" SCHEME=$PROJECT-tvOS SDK=appletvsimulator TEST=test
script:
- xcodebuild $TEST -project $PROJECT.xcodeproj -scheme $SCHEME -sdk $SDK -destination "$DESTINATION"
before_deploy:
- carthage build --no-skip-current
- carthage archive $PROJECT
deploy:
provider: releases
api_key:
secure: G1IwkA8mayfZyLXKy4SJPSAolhiYKSrFKZiDzDdrQazH/5+aClhKrCOAoTSp8LyJct4C1wu6FR4mxGaoFDmMw4F3Nx1oHRtx5b/EuODGXQmtq8Jdcc7HdWsmY+P0+tiXyNF6AuNCq/7oRl40ppkuJqwkgUt5wj6t2u7UXKuBvzYM89ZeVCDpN4wvY3SE6+LUD/CnYecGmsetpyopK2qgtHHR6W/kZQpL/32fIqYanGKrp3OzcvdJWJQfzQBroC6fE7kE9RRfDAmeo5OEyrKHww0SHW5Z0v5Vd8t8HYr1lT5OhMBvKhREDikW3XZKHKhju/OalawbWQosExIW1c6KD/u0p/ldcjJ737nN1Ny9GrAqpRtw+4LAqx+18jk11XXNQj77yrDEvYNo/zq4FWCeA+cc8eLlmtouAfPfnMSQ8go4w09g8PUQtimCC6qFSHZ5FTtqvoEzbzFo6bos8It/FXTgizgSu97Idl5detbIfOsiSYpZ7K7rJuVaGKBeBRDpCH0l2vaAtppYYEKONhEiCTC6rJGjZB6RAYiv74ZtcB4+aMAHgTwCCrbAyEPZp6wqr7bbEQbA5Qn1nOS7W87XnOuvCDc5UBZC8FJdAxERmNkYbP1jiFJ4Pj/87+xQGLb2Hp3BpJa7KM6bRhp6RWtcFNOn/NGqB4l5dwvaGVL2UVc=
file: $PROJECT.framework.zip
skip_cleanup: true
on:
repo: kgn/$PROJECT
tags: true