-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
38 lines (32 loc) · 1.65 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
32
33
34
35
36
37
38
language: objective-c
sudo: false
xcode_workspace: DKDBManager.xcworkspace
xcode_scheme: DKDBManager
osx_image: xcode8.3
xcode_sdk: iphonesimulator10.3
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage update --platform iOS
- gem install cocoapods -v '1.2.1'
- pod repo update
before_script:
- carthage bootstrap
script:
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild test -workspace DKDBManager.xcworkspace -scheme DKDBManager -destination "platform=iOS Simulator,name=iPhone 6s,OS=10.3.1" -configuration Release -sdk iphonesimulator10.3 GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES | xcpretty
before_deploy:
- carthage build --no-skip-current
- carthage archive DKDBManager
deploy:
provider: releases
file: DKDBManager.framework.zip
skip_cleanup: true
api_key:
secure: BBHsuN6uYaNmfF0hnhP7/r+h4GQOeX8hzlC11ijhDPysiN5drN66KTRMA0yGbBbfcku87qJicZwRK+5JIuopnRzY/1rqnX5qQIm1TXgM4hXJ5MoQzyHJapAGiUBCmundIwmKt+FYU4x7lkXPFqfrYj8WdLs2qKQT6TgQcyB4hb9WjTxmWQEMZrpRyIvVkYXHCrTqpZlg0U2+5ItsJEzyNe0pPjvFkk6B2CnxRcfZYoBPQHHcioanI2sb9r5dajBe6/Tp0VgPdWncXhLVocnkuuRN/NNVIk26LmOW7UJmj9/fsz7BYPwMo0eFI3lXzvagsEQdIdX447q1tHF/ggbkw496S/f4C5L5JCIyB7XOxbgia0kST77zsPOo5430NKUYtuu8ZxWGNnhlJDrGi66w0DMl34ZIvHjmIql00/jMIBVK3ql3Pnxa0D7VhTXoyKTzrZ3i2pzhf0QxSYAYg8BaorA3guqZ1vEl0cmeujYe3GI+KRX+qavmZ8r/XVENgXEjKT7K5Jqqce+PqkbiiMoAHCWjJp8nDXtLEwQEiBaZA/xRC4v0VXd+C+z3XBTBKGkorqpjB90WTs/DF886VC1vr++KkTej4UbB+KRyqlB+8s+qG5B281w7KiAhVIjyOXIQhuIh2pTRT0cXPKLbm/L8qOZHCbP9i4jjjRrkr/XcdqU=
on:
repo: kevindelord/DKDBManager
tags: true
after_success:
- bash <(curl -s https://codecov.io/bash)