-
Notifications
You must be signed in to change notification settings - Fork 66
/
.travis.yml
28 lines (28 loc) · 1.51 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
osx_image: xcode10.2
language: objective-c
xcode_project: MTDemo
xcode_scheme: MessageThrottle iOS
xcode_sdk: iphoneos12.2
env:
global:
- FRAMEWORK_NAME=MessageThrottle
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
before_script:
before_deploy:
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
script:
- xcodebuild -project MTDemo/MTDemo.xcodeproj -scheme MTDemo -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4' ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES build test
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: arhqYQSqQ3ZCc2gZIlfQTFhea44CrohmXOIsjA5VtFcvOdJ29OMJZlimR3MD61+yJ+nxOt2107TMNqFBMGM425PQctCzPV68arVV+5393Fu5A+ewpcm/ir+ZoD5Iz8Y91Pk1vaYRVYMtFt91qFc/6Hmkm5Zgipf4gJTwOBZChGUC6EHBf1U/9b9S0+YvjFZ0rzXNnXWW72SC0wl1+mrRIAKL7pNUruI/l/2hCX54a8t0IFxrQReNbUm/k5/TYlnn24nXOmA+ezA7dTI3tYmpb2WcFUb44NjW+I9Qh5ooll8VgTDoCvBULtExaDoD79IQLEe4bKkBynqqLUnoPKIbxRCfeizoJr84BMCpuFEvuFLYcefZComvqDH6MQ92aArC2LkDmciSO6R0KbjareVVng2D/s/BO9+aJD83RTenDvDeJFGBTX9O60e3+r9Wr7r/Bx8Mwt4KoJ3K0xpFUWEkhMKfoH9XWalqS2BJww1jaFEuN82jRznWVCttOW6mfVqh8lE3B3PxPvEXJB0JdkSYA40u1yV51cQb+uY+PP6Vvvde3YgoxrCdXwbqNZHNQaxNXrk0GQ7wQlfVq3sKphIueIhK8SNTDo0JV2UgAAR1WD6NpvqqScXF8aRuFlRkOLn0uNp4XcCh8LegS6HfqBvpjwn2Q0bwTD8CgucUJFtXMD4=
file: MessageThrottle.framework.zip
skip_cleanup: true
on:
repo: yulingtianxia/MessageThrottle
tags: true