-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (25 loc) · 962 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
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
language: swift
os: osx
osx_image: xcode10.2
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods
- pod repo update
script:
- set -o pipefail && xcodebuild -version
- set -o pipefail && xcodebuild -showsdks
- set -o pipefail && xcodebuild -showdestinations -workspace Example/MVDownloader.xcworkspace -scheme MVDownloader-Example
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -destination 'platform=iOS Simulator,OS=12.2,name=iPhone 7' -workspace Example/MVDownloader.xcworkspace -scheme MVDownloader-Example ONLY_ACTIVE_ARCH=NO
- pod lib lint MVDownloader.podspec
after_success:
- bash <(curl -s https://codecov.io/bash) -t 77da8681-2751-43ad-90dc-92534067d0b3
notifications:
email:
recipients:
on_success: always
on_failure: always