-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
24 lines (20 loc) · 740 Bytes
/
.travis.yml
File metadata and controls
24 lines (20 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode10
language: objective-c
cache: cocoapods
podfile: Example/Podfile
branches:
only:
- master
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- gem instal xcpretty -N
- brew update
- brew install swiftlint || true
- pod install --project-directory=Example
script:
- set -o pipefail
- xcodebuild clean test -enableCodeCoverage YES -workspace Example/MatchTransition.xcworkspace -scheme MatchTransition-Example -sdk iphonesimulator12.0 -destination 'platform=iOS Simulator,name=iPhone X,OS=12.0' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint --allow-warnings