-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (24 loc) · 870 Bytes
/
.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
language: swift
osx_image: xcode11.3
podfile: "./iOS Example/Podfile"
env:
global:
- WORKSPACE="./iOS Example/iOS Example.xcworkspace"
- IOS_FRAMEWORK_SCHEME="iOS Example"
- EXAMPLE_SCHEME="iOS Example"
matrix:
- DESTINATION="platform=iOS Simulator,OS=13.0,name=iPhone 11 Pro"
SCHEME="$IOS_FRAMEWORK_SCHEME"
script:
- set -o pipefail
# - xcodebuild -version
# - xcodebuild -showsdks
# - xcodebuild -list
# - xcodebuild -workspace "$WORKSPACE" -list
- ./iOS\ Example/Pods/SwiftLint/swiftlint
# Build Example in Debug
- xcodebuild -sdk iphonesimulator -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c
- swift package generate-xcodeproj
- bundle exec fastlane scan --code_coverage
after_success:
- bash <(curl -s https://codecov.io/bash)