-
Notifications
You must be signed in to change notification settings - Fork 198
/
.travis.yml
29 lines (24 loc) · 891 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
language: objective-c
osx_image: xcode11
cache: cocoapods
podfile: Podfile
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- XCODE_WORKSPACE=HWPanModal.xcworkspace
- DESTINATION="OS=13.0,name=iPhone 8"
matrix:
- SCHEME_OC="HWPanModalDemo"
# - SCHEME_SWIFT="SwiftDemo"
before_install:
- gem install xcpretty --no-document --quiet
- gem install cocoapods --pre --no-document --quiet
- sh Startup.sh
script:
- set -o pipefail
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME_OC" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build CODE_SIGN_IDENTITY='' | xcpretty -c;
# - xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME_SWIFT" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build CODE_SIGN_IDENTITY='' | xcpretty -c;
- pod lib lint --allow-warnings
after_success:
- sleep 3