-
Notifications
You must be signed in to change notification settings - Fork 218
/
.travis.yml
13 lines (13 loc) · 759 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
language: objective-c
osx_image: xcode10
env:
- SWIFT_VERSION=4.0
install:
- bundle install
- brew outdated carthage || brew upgrade carthage
before_script:
- bundle exec pod lib lint --allow-warnings
- carthage build --verbose --no-skip-current
script:
- xcodebuild -project MagazineLayout.xcodeproj -scheme MagazineLayout -sdk iphonesimulator -destination "platform=iOS Simulator,OS=12.0,name=iPhone XS" -configuration Debug -PBXBuildsContinueAfterErrors=0 SWIFT_VERSION=$SWIFT_VERSION build test
- xcodebuild -project MagazineLayout.xcodeproj -scheme MagazineLayout -sdk appletvsimulator -destination "platform=tvOS Simulator,OS=12.0,name=Apple TV" -configuration Debug -PBXBuildsContinueAfterErrors=0 SWIFT_VERSION=$SWIFT_VERSION build test