forked from jaronoff97/SwiftDog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (30 loc) · 943 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
36
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode9.3
language: swift
cache: cocoapods
podfile: Example/Podfile
xcode_workspace: SwiftDog.xcworkspace
xcode_scheme: SwiftDog-Example
xcode_sdk: iphonesimulator11.3
branches:
only:
- dev
- master
notifications:
email:
recipients:
on_success: never
on_failure: always
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- gem install xcpretty -N
- pod repo update
- pod install --project-directory=Example
script:
- set -o pipefail
- travis_retry xcodebuild -workspace Example/SwiftDog.xcworkspace -scheme SwiftDog-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.3' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty -c
after_script:
- pod lib lint