-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (44 loc) · 1.23 KB
/
.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
39
40
41
42
43
44
sudo: false
language: swift
osx_image: xcode11.6
cache:
- bundler
- cocoapods
matrix:
include:
- os: osx
env:
- SCHEME="RichString macOS"
- SDK=macosx
- DESTINATION="platform=macosx"
- ACTION=test
- os: osx
env:
- SCHEME="RichString iOS"
- SDK=iphonesimulator
- DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=13.6"
- ACTION=test
- os: osx
env:
- SCHEME="RichString watchOS"
- SDK=watchsimulator
- DESTINATION="platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm,OS=6.2.1"
- ACTION=build
- os: osx
env:
- SCHEME="RichString tvOS"
- SDK="appletvsimulator"
- DESTINATION="platform=tvOS Simulator,name=Apple TV 4K (at 1080p),OS=13.4"
- ACTION=build
script:
- xcodebuild -workspace RichString.xcworkspace -scheme "${SCHEME}" -showdestinations
- set -o pipefail && xcodebuild -workspace RichString.xcworkspace -scheme "${SCHEME}" -sdk "${SDK}" -destination "${DESTINATION}" ${ACTION} | xcpretty
- bundle exec jazzy
deploy:
provider: pages
skip_cleanup: true
github_token: $github_token
local_dir: docs
on:
branch: master
condition: $SDK = iphonesimulator