This repository was archived by the owner on Jan 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 66matrix :
77 include :
88 - osx_image : xcode10
9- env : BUILD_SDK=iphonesimulator12.0 DESTINATION="platform=iOS Simulator,name=iPhone 8"
9+ env : SWIFT=4.2 BUILD_SDK=iphonesimulator12.0 DESTINATION="platform=iOS Simulator,name=iPhone 8"
10+ - osx_image : xcode9.2
11+ env : SWIFT=4.0 BUILD_SDK=iphonesimulator11.2 DESTINATION="platform=iOS Simulator,name=iPhone 8"
1012 - osx_image : xcode9.4
11- env : BUILD_SDK=iphonesimulator11.4 DESTINATION="platform=iOS Simulator,name=iPhone 8"
13+ env : SWIFT=4.1 BUILD_SDK=iphonesimulator11.4 DESTINATION="platform=iOS Simulator,name=iPhone 8"
14+ - osx_image : xcode9.4
15+ env : SWIFT=3.3 BUILD_SDK=iphonesimulator11.4 DESTINATION="platform=iOS Simulator,name=iPhone 8"
1216 - osx_image : xcode8.3
13- env : VERBOSE=true BUILD_SDK=iphonesimulator10.3 DESTINATION="platform=iOS Simulator,name=iPhone 7"
17+ env : SWIFT=3.1 BUILD_SDK=iphonesimulator10.3 DESTINATION="platform=iOS Simulator,name=iPhone 7"
1418
Original file line number Diff line number Diff line change 11require 'semver'
22
3+ SWIFT = ENV [ 'SWIFT' ] || '4.1'
34BUILD_SDK = ENV [ 'BUILD_SDK' ] || 'iphonesimulator11.4'
45DESTINATION = ENV [ 'DESTINATION' ] || 'platform=iOS Simulator,name=iPhone 8'
56EXAMPLE_PROJECT = 'SkyFloatingLabelTextField/SkyFloatingLabelTextField.xcodeproj'
3637
3738
3839task :test do
39- sh "set -o pipefail && xcodebuild test -enableCodeCoverage YES -project #{ EXAMPLE_PROJECT } -scheme #{ EXAMPLE_SCHEMA } -sdk #{ BUILD_SDK } -destination \" #{ DESTINATION } \" ONLY_ACTIVE_ARCH=NO | xcpretty"
40+ sh "set -o pipefail && xcodebuild test -enableCodeCoverage YES -project #{ EXAMPLE_PROJECT } -scheme #{ EXAMPLE_SCHEMA } SWIFT_VERSION= #{ SWIFT } -sdk #{ BUILD_SDK } -destination \" #{ DESTINATION } \" ONLY_ACTIVE_ARCH=NO | xcpretty"
4041end
4142
4243task :lint do
43- sh "bundle exec pod lib lint #{ VERBOSE ? '--verbose' : '' } "
44+ sh "bundle exec pod lib lint --swift-version= #{ SWIFT } #{ VERBOSE ? '--verbose' : '' } "
4445 sh "swiftlint"
4546end
4647
You can’t perform that action at this time.
0 commit comments