-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (29 loc) · 933 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
30
31
language: objective-c
os: osx
env:
global:
- PROJECT="Brine.xcodeproj"
- IOS_SDK=iphonesimulator11.3
- MACOS_SDK=macosx10.13
matrix:
include:
- osx_image: xcode9.3
env:
- DESTINATION="OS=11.3,name=iPhone 8 Plus"
- SCHEME="Brine-iOS"
- SDK="$IOS_SDK"
- XCODEBUILD_COMMAND="test"
- PLATFORM="iOS"
- osx_image: xcode9.3
env:
- DESTINATION="platform=macOS,arch=x86_64"
- SCHEME="Brine-macOS"
- SDK="$MACOS_SDK"
- XCODEBUILD_COMMAND="build-for-testing"
- PLATFORM="macOS"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- travis_retry xcodebuild -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES "$XCODEBUILD_COMMAND" | xcpretty;
- travis_retry carthage build --no-skip-current --platform "$PLATFORM"