forked from JoniVR/VerticalCardSwiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (22 loc) · 1.51 KB
/
.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
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode10
before_install:
- gem install cocoapods
- gem install xcpretty -N
- brew update
script:
- set -o pipefail
# example
- xcodebuild clean build -project VerticalCardSwiper.xcodeproj -scheme Example -sdk iphonesimulator12.0 ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
# library
- xcodebuild clean build -project VerticalCardSwiper.xcodeproj -scheme VerticalCardSwiper -sdk iphonesimulator12.0 ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
# UI Tests iPhone X
- xcodebuild clean build test -project VerticalCardSwiper.xcodeproj -scheme VerticalCardSwiperUITests -sdk iphonesimulator12.0 -destination "platform=iOS Simulator,name=iPhone X" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
# UI Tests iPhone SE
- xcodebuild clean build test -project VerticalCardSwiper.xcodeproj -scheme VerticalCardSwiperUITests -sdk iphonesimulator12.0 -destination "platform=iOS Simulator,name=iPhone SE" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
# UI Tests iPhone 8+
- xcodebuild clean build test -project VerticalCardSwiper.xcodeproj -scheme VerticalCardSwiperUITests -sdk iphonesimulator12.0 -destination "platform=iOS Simulator,name=iPhone 8 Plus" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
- pod lib lint