Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
Only disable hardware keyboard when not on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tovkal committed Oct 18, 2017
1 parent 7d95422 commit df546fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ default_platform :ios
desc "Run all the tests"
lane :test do
carthage(command: "bootstrap", platform: "iOS", cache_builds: true)
sh("defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool no")
if !is_ci
sh("defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool no")
end
scan(
scheme: "OpenFoodFacts",
devices: ["iPhone 8"],
output_types: "html"
)
sh("defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool yes")
if !is_ci
sh("defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool yes")
end
end

desc "Build and send the beta to TestFlight"
Expand Down

0 comments on commit df546fa

Please sign in to comment.