forked from OpenShelter/Tyro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 1.02 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
language: objective-c
osx_image: xcode11
git:
submodules: false
before_install:
- git submodule update --init --recursive
install: true
script:
# TODO: reenable when https://github.com/OpenShelter/Tyro/issues/2 solved
# - pod lib lint
- set -o pipefail
- xcodebuild test -scheme Tyro -configuration Debug | xcpretty -c
- xcodebuild clean -scheme Tyro -configuration Debug
- xcodebuild test -scheme Tyro-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 8" -UseModernBuildSystem=NO | xcpretty -c
- xcodebuild clean -scheme Tyro-iOS -configuration Debug -sdk iphonesimulator
- xcodebuild test -scheme Tyro-tvOS -destination 'platform=tvOS Simulator,name=Apple TV' -UseModernBuildSystem=NO | xcpretty -c
- xcodebuild clean -scheme Tyro-tvOS
- xcodebuild build -scheme Tyro-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm' -UseModernBuildSystem=NO | xcpretty -c
# deploy:
# provider: script
# script: ./scripts/push.sh
# on:
# tags: true