-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
.travis.yml
17 lines (17 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: swift
osx_image: xcode9.3
env:
matrix:
- DESTINATION="OS=11.3,name=iPhone 8" SCHEME="MetalBender" SDK=iphonesimulator
- DESTINATION="generic/platform=iOS" SCHEME="MetalBender" SDK=iphoneos
- DESTINATION="OS=11.3,name=iPhone 8" SCHEME="Example" SDK=iphonesimulator
- DESTINATION="generic/platform=iOS" SCHEME="Example" SDK=iphoneos
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
- brew outdated swiftlint || brew upgrade swiftlint
- carthage update --platform iOS
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- xcodebuild clean -workspace Bender.xcworkspace -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c; test ${PIPESTATUS[0]} -eq 0
- xcodebuild build -workspace Bender.xcworkspace -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c; test ${PIPESTATUS[0]} -eq 0