-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (34 loc) · 2.75 KB
/
.travis.yml
File metadata and controls
40 lines (34 loc) · 2.75 KB
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
34
35
36
37
38
39
40
language: objective-c
osx_image: xcode10.2
env:
global:
- SCAN_SKIP_BUILD=true
matrix:
# Test on iOS 12.2
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager" SCAN_DEVICE="iPhone 5s (12.2)"
- SCAN_WORKSPACE="SwiftSampleProject/SwiftSampleProject.xcworkspace" SCAN_SCHEME="SwiftyVokoder" SCAN_DEVICE="iPhone 5s (12.2)"
- SCAN_WORKSPACE="Paging Data Source Example/Paging Data Source Example.xcworkspace" SCAN_SCHEME="Paging Data Source Example" SCAN_DEVICE="iPhone 5s (12.2)"
# Test on iOS 12.0
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager" SCAN_DEVICE="iPhone 5s (12.0)"
- SCAN_WORKSPACE="SwiftSampleProject/SwiftSampleProject.xcworkspace" SCAN_SCHEME="SwiftyVokoder" SCAN_DEVICE="iPhone 5s (12.0)"
- SCAN_WORKSPACE="Paging Data Source Example/Paging Data Source Example.xcworkspace" SCAN_SCHEME="Paging Data Source Example" SCAN_DEVICE="iPhone 5s (12.0)"
# Test on iOS 11.4
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager" SCAN_DEVICE="iPhone 5s (11.4)"
- SCAN_WORKSPACE="SwiftSampleProject/SwiftSampleProject.xcworkspace" SCAN_SCHEME="SwiftyVokoder" SCAN_DEVICE="iPhone 5s (11.4)"
- SCAN_WORKSPACE="Paging Data Source Example/Paging Data Source Example.xcworkspace" SCAN_SCHEME="Paging Data Source Example" SCAN_DEVICE="iPhone 5s (11.4)"
# Test on iOS 10.2
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager" SCAN_DEVICE="iPhone 5s (10.2)"
- SCAN_WORKSPACE="SwiftSampleProject/SwiftSampleProject.xcworkspace" SCAN_SCHEME="SwiftyVokoder" SCAN_DEVICE="iPhone 5s (10.2)"
- SCAN_WORKSPACE="Paging Data Source Example/Paging Data Source Example.xcworkspace" SCAN_SCHEME="Paging Data Source Example" SCAN_DEVICE="iPhone 5s (10.2)"
# Test on tvOS
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager-tvOS" SCAN_SDK="appletvsimulator"
# Test on macOS
- SCAN_WORKSPACE="SampleProject/SampleProject.xcworkspace" SCAN_SCHEME="VOKCoreDataManager-OSX" SCAN_SDK="macosx"
script:
- bundle exec fastlane scan
- bundle exec pod repo update
- bundle exec pod lib lint
git:
depth: 10000 # For the auto-incrementing build number script to work, we need to clone with a basically-infinite depth.
cache:
- bundler # After main-repo builds, save the "bundler" (local Ruby gems) stuff to cache for future builds.