-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
38 lines (32 loc) · 902 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
37
38
# os: osx
osx_image: xcode9.4
language: swift
sudo: required
podfile: Example/RxValidatorExample/Podfile
cache: cocoapods
notifications:
slack: '$SLACK_KEY'
branches:
only:
- develop
except:
- screenshot
env:
global:
- PROJECT="Example/RxValidatorExample/RxValidatorExample.xcworkspace"
- SCHEME="RxValidatorExample"
matrix:
- TEST=1 DESTINATION="platform=iOS Simulator,name=iPhone X,OS=11.4"
#- TEST=1 DESTINATION="arch=x86_64"
#- TEST=1 DESTINATION="OS=11.4,name=Apple TV"
#- TEST=0 DESTINATION="OS=4.3,name=Apple Watch - 38mm"
before_install:
- set -o pipefail
script:
- xcodebuild clean build test
-workspace "$PROJECT"
-scheme "$SCHEME"
-destination "$DESTINATION" | xcpretty -c
- pod lib lint --verbose --allow-warnings --fail-fast
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'RxValidatorExample'