ably-cocoa/fastlane/Fastfile

57 lines
1.1 KiB
Ruby

default_platform(:ios)
platform :ios do
lane :test_iOS12 do
run_tests(
scheme: "Ably-iOS-Tests",
devices: ["iPhone XS (12.0)"],
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
lane :test_iOS11 do
run_tests(
scheme: "Ably-iOS-Tests",
devices: ["iPhone 8 (11.4)"],
test_without_building: false,
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
lane :test_iOS10 do
run_tests(
scheme: "Ably-iOS-Tests",
devices: ["iPhone 7 (10.3.1)"],
test_without_building: false,
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
lane :test_iOS9 do
run_tests(
scheme: "Ably-iOS-Tests",
devices: ["iPhone 6 (9.3)"],
test_without_building: false,
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
lane :test_tvOS12 do
run_tests(
scheme: "Ably-tvOS-Tests",
devices: ["Apple TV 4K"],
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
lane :test_macOS do
run_tests(
scheme: "Ably-macOS-Tests",
test_without_building: false,
xcargs: { ABLY_ENV: ENV['ABLY_ENV'] }
)
end
end