This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastlane_version "2.28.4" | |
default_platform :ios | |
platform :ios do | |
before_all do | |
ensure_git_status_clean | |
xcversion version: "~> 8.3" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: objective-c | |
osx_image: xcode8.3 | |
branches: | |
only: | |
- master | |
- /[0-9]+\.[0-9]+\.[0-9]+/ | |
install: | |
- gem install fastlane --no-ri --no-doc --no-document | |
- gem install cocoapods --no-ri --no-doc --no-document | |
script: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pod trunk push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fastlane ios tests | |
pod lib lint --quick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
team_id "XXX" | |
apple_id "XXX" | |
itunes_connect_id "XXX" | |
itc_team_name "XXX" | |
itc_team_id "XXX" | |
for_lane :alpha do | |
app_identifier "com.sixt.MediumTest-alpha" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_url "https://github.com/XXX/ios-certificates" | |
username "XXX" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####### Certificates ####### | |
desc "Installs the certificates and profiles locally" | |
lane :certificates do |options| | |
if options[:use_temporary_keychain] | |
create_temporary_keychain | |
end | |
readonly = (options[:refresh_certificates] ? false : true) | |
force_for_new_devices = !readonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "fastlane" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####### Testing ####### | |
desc "Runs all the tests" | |
lane :tests do | |
unit_tests | |
ui_tests | |
end | |
desc "Runs all unit tests" | |
lane :unit_tests do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####### Builds ####### | |
desc "Submit a new Alpha Build to Fabric" | |
lane :alpha do |options| | |
changelog = sh("git log --pretty=format:'* %s <%an>%n' --first-parent --abbrev-commit #{ENV['GIT_PREVIOUS_SUCCESSFUL_COMMIT'] || 'HEAD^^^^^'}..HEAD") | |
increment_build_number( build_number: ENV["CIRCLE_BUILD_NUM"]) | |
certificates( | |
use_temporary_keychain: options[:use_temporary_keychain], |
OlderNewer