Added ‘xcpretty’ to Travis-CI config

This commit is contained in:
Vincent Esche 2019-10-05 16:32:22 +02:00
parent 5f264ac56e
commit ed2efa9a01
1 changed files with 6 additions and 5 deletions

View File

@ -4,12 +4,13 @@ osx_image: xcode10.2
install: install:
- brew update - brew update
- brew outdated swiftlint || brew upgrade swiftlint - brew outdated swiftlint || brew upgrade swiftlint
- gem install xcpretty
script: script:
- swiftlint --strict - swiftlint --strict
- xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-iOS -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.1' - xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-iOS -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.1' | xcpretty
- xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-macOS -destination 'platform=OS X,arch=x86_64' - xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-macOS -destination 'platform=OS X,arch=x86_64' | xcpretty
- xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 4K,OS=11.1' - xcodebuild clean build test -workspace Surge.xcworkspace -scheme Surge-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 4K,OS=11.1' | xcpretty
- xcodebuild clean build -workspace Surge.xcworkspace -scheme Surge-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch Series 3 - 42mm,OS=4.1' - xcodebuild clean build -workspace Surge.xcworkspace -scheme Surge-watchOS -destination 'platform=watchOS Simulator,name=Apple Watch Series 3 - 42mm,OS=4.1' | xcpretty
- xcodebuild clean build -workspace Surge.xcworkspace -scheme SurgeBenchmarkTests-macOS -destination 'platform=OS X,arch=x86_64' - xcodebuild clean build -workspace Surge.xcworkspace -scheme SurgeBenchmarkTests-macOS -destination 'platform=OS X,arch=x86_64' | xcpretty