-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
26 lines (24 loc) · 1.47 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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c # still specify this even though we are using swift - appears to tell travis which Xcode version to use
osx_image: xcode10.3
#cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- gem install xcpretty
- pod --version
- pod install --project-directory=Example
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild build test -workspace Example/FazeKit.xcworkspace -scheme FazeKit-Example -destination 'platform=iOS Simulator,name=iPhone SE' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
notifications:
slack:
rooms:
secure: nDp6bSL+badH5BpZQYEw+wMEi0R2WcWIxVRm6XtCBPfQG/NGnG+Ty9eUi2DOP/xBVx80+hlSnYjhKEtaWBFkapMW8iDjMx2qTKYFlPXeAjk+lvpcSopKU3el7achNIcspkFIQ21f7A4svmjesJDvXtIu1fx+Wj3P1qfJulo6xK5fDhHER54bMEDknm+suKVl+4/kBoqfoubBQ80BuCZSbLaS1z3PrqRsH8aibQelgsHaXMXG7VAv+f3zyQB7Rt4BekC7s3QxWOh3tFDjE7+Ucvr0ZG6mIhhJ++00/Uaa2Cf22F6yTWhZzoR5NcyHXWd/WD2go72dA1gS9Un1gCshAeZ5S7cpPwKvcP2EiR80UMGVfTlBToCO59y/Crbrc9uIy36P0h0FjbdE9sdu98y82eg4gXAuWQbwi8lDd8ex1KPT0CN+NmQ2dRTCPpDa/Zivx10sib0AAclEkhxCaajw+mH11ctmXS+Badhxdzgxmny2VXKMbzmEnpgv6Rl49+p+A9oXDl+xPrnDDg10xtSq62iuI7o2PJH1V1Cw660Lymt+OhN31+2LzXJa+MK9pvwqURK1VUbob1MB3vpYBIA9/UcFv40OGea3Uujh5T9JGLejVGJB0Q8DOKD0B1isgYYK/QuTkj5LXlzhajkSMsGFGsU3zOxcl9pLPZVJZbCRao4=
on_success: always
on_failure: always