-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (23 loc) · 2.04 KB
/
.travis.yml
File metadata and controls
26 lines (23 loc) · 2.04 KB
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
language: objective-c
osx_image: xcode9.2
env:
- PROJECT=StringInputValidator.xcodeproj DESTINATION="OS=10.0,name=iPhone 6s" SDK=iphonesimulator11.2 SCHEME=StringInputValidator RUN_TESTS="YES"
- PROJECT=StringInputValidator.xcodeproj DESTINATION="OS=10.1,name=iPhone 7" SDK=iphonesimulator11.2 SCHEME=StringInputValidator RUN_TESTS="YES"
- PROJECT=StringInputValidator.xcodeproj DESTINATION="OS=11.1,name=iPhone 7" SDK=iphonesimulator11.2 SCHEME=StringInputValidator RUN_TESTS="YES"
- PROJECT=StringInputValidator.xcodeproj DESTINATION="OS=11.2,name=iPhone 8" SDK=iphonesimulator11.2 SCHEME=StringInputValidator RUN_TESTS="YES"
notifications:
slack:
rooms:
secure: TSLDfopFEoObXSDtm8Q53P8KjOWik9YveUHCqUQlYVTjxA48dOemIKDeTvaEyNQ7oUi7UwfF0mQqTh6dnVG01oEi3upWvYvEIWkU0kXKUEYhRgqvB5L0HJjYOwf+YFbdePv4/x6qdoNDBD8ST2W/z92fNqCMb6oiWRuxU/wXZEAoIiEFVaeLAJUWTaGxh9+WX4W5Pa/O99YyQZTJPWepA+wmZfqZUy5KxklL8T7h2mDtM+gYWBRrRdy/qORmcz18ncIEKvVEEYNjaL6Hz1a59vMMwru+PF42Rl1MpNr0Y+gvvbtpOrBy4mpW8NsXybd7IrIbKMUZ9PF8mQ1R1GD4or0UGvFv/u8Pst8cHjBfDe4VhgRsfoWxl4H0bb1d5JZuZ9itwpU+0lHgb8IvJJwugKq+iVkXAZzpcjbDFnVgCRSi13FALi9sqsChSZpjb/enUpSqji1/DSMVXcTu13zuEJnNCLEMHu45zzjcher04U68ztblXeY/XWJ2EQDDhnUYyUvnhvoOyTP7giqXBqJRBFLBKYgmbqM8XH5OMacbPMuuUYOxwdiXQyS5cChd5FloTFxhZXqakRKPv3oQxZcGA1hLcPThrBuwXfGbZLBZ1YFFzFoEZ9ByuzuXPt7KJ8Jqdge3+z5IMc/jlpfQ0HnVyJJSvbsRn8tIgwBP/kTRMK0=
script:
- set -o pipefail
- if [ $RUN_TESTS == "YES" ]; then xcodebuild analyze test -project "$PROJECT" -scheme
"$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO
CODE_SIGNING_REQUIRED=NO | xcpretty -c; else xcodebuild build analyze -project "$PROJECT"
-scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO
CODE_SIGNING_REQUIRED=NO | xcpretty -c; fi
- if [ $RUN_TESTS == "YES" ]; then xcodebuild test -project StringInputValidator.xcodeproj
-scheme StringInputValidator -destination "platform=iOS Simulator,name=iPhone 7"
CODE_SIGNING_REQUIRED=NO | xcpretty -c; fi
after_success:
- bash <(curl -s https://codecov.io/bash)