forked from tmspzz/Tyro
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
23 lines (23 loc) · 966 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
language: objective-c
osx_image: xcode10.1
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 6s" | xcpretty -c
- xcodebuild clean -scheme Tyro-iOS -configuration Debug -sdk iphonesimulator
- xcodebuild test -scheme Tyro-tvOS -destination 'platform=tvOS Simulator,name=Apple TV' | xcpretty -c
- xcodebuild clean -scheme Tyro-tvOS
- xcodebuild build -scheme Tyro-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch - 42mm' | xcpretty -c
# deploy:
# provider: script
# script: ./scripts/push.sh
# on:
# tags: true