-
Notifications
You must be signed in to change notification settings - Fork 252
/
.travis.yml
35 lines (28 loc) · 904 Bytes
/
.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
language: objective-c
osx_image: xcode10.2
env:
global:
- FRAMEWORK_NAME=MXSegmentedPager
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
install:
- gem install cocoapods
- gem install xcpretty --no-document --quiet
before_script:
- carthage bootstrap
script:
- set -o pipefail && xcodebuild -project MXSegmentedPager.xcodeproj -scheme $FRAMEWORK_NAME -sdk iphonesimulator12.2 -configuration Release | xcpretty -c
- pod lib lint --quick
before_deploy:
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
deploy:
provider: releases
api_key:
secure: uimE5l184d6Lg1eRXfSaGUXXdeajVuICeHTyIuxZzYb105Bp1e2zPB5SgLOY21WL1OHV+T5TxtTfw+O1sNuoEmt/x2YcVqmfqOuBc+6IEKgrqVtHP0ADN+YLvIvDSx3y4pG9rrZB2UT0OR9ZXPmaQpnbMbxLZrtf5OFoIC2WilY=
file: $FRAMEWORK_NAME.framework.zip
skip_cleanup: true
on:
repo: maxep/MXSegmentedPager
tags: true