24 lines
1.0 KiB
YAML
24 lines
1.0 KiB
YAML
language: swift
|
|
osx_image: xcode10.2
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/Library/Caches/Homebrew
|
|
- /usr/local/Homebrew
|
|
|
|
before_cache:
|
|
- brew cleanup
|
|
|
|
install:
|
|
- brew update
|
|
- brew outdated swiftlint || brew upgrade swiftlint
|
|
- gem install xcpretty
|
|
|
|
script:
|
|
- swiftlint --strict
|
|
- 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' | xcpretty
|
|
- 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' | xcpretty
|
|
- xcodebuild clean build -workspace Surge.xcworkspace -scheme SurgeBenchmarkTests-macOS -destination 'platform=OS X,arch=x86_64' | xcpretty
|
|
|