forked from PGSSoft/AutoMate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 1.69 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
25
26
27
28
29
30
31
32
33
language: objective-c
osx_image: xcode10.2
env:
global:
- NSUnbufferedIO=YES
matrix:
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone SE" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone 8" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone 8 Plus" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone XR" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone XS" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPhone XS Max" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPad Air 2" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPad Pro (9.7-inch)" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPad Pro (10.5-inch)" DESTINATION_OS="12.0"
- SCHEME="AutoMate" PLATFORM="iOS Simulator" DESTINATION_NAME="iPad Pro (12.9-inch) (2nd generation)" DESTINATION_OS="12.0"
before_install:
- brew update
- brew outdated swiftlint || brew upgrade swiftlint
before_script:
- swiftlint version
- bundle exec pod --version
- bundle exec fastlane --version
- bundle exec fastlane snapshot reset_simulators --force --ios 12.0
- bundle exec fastlane prepare
script:
- bundle exec fastlane test "scheme:${SCHEME}" "destination:platform=${PLATFORM},name=${DESTINATION_NAME},OS=${DESTINATION_OS}"
- bundle exec danger
- bundle exec pod lib lint