forked from iwasrobbed/RPCircularProgress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
16 lines (16 loc) · 774 Bytes
/
.travis.yml
File metadata and controls
16 lines (16 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
osx_image: xcode10.2
rvm:
- 2.6.2
language: objective-c
before_install:
- gem install cocoapods
- pod repo update
- gem install xcpretty slather -N
- xcrun instruments -w "iPhone 6 (12.2)" || echo "(Pre)Launched the simulator."
cache: cocoapods
podfile: Example/Podfile
script:
- set -o pipefail && xcodebuild test -workspace example/RPCircularProgressExample.xcworkspace -scheme "RPCircularProgressExample" -destination "platform=iOS Simulator,name=iPhone XS,OS=12.2" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c
after_success:
- pod lib lint --allow-warnings
- slather coverage --ignore "../**/*/Xcode*" --scheme "RPCircularProgressExample" --workspace example/RPCircularProgressExample.xcworkspace example/RPCircularProgressExample.xcodeproj