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.76.1" | |
default_platform :ios | |
platform :ios do | |
####### Certificates ####### | |
desc "Installs the certificates and profiles locally" | |
lane :certificates do |options| |
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
workflows: | |
version: 2 | |
alpha-build: | |
jobs: | |
- alpha: | |
context: org-global | |
filters: | |
branches: | |
only: | |
- develop |
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
alpha: | |
macos: | |
xcode: "9.2.0" | |
shell: /bin/bash --login -eo pipefail | |
steps: | |
- checkout | |
- restore_cache: |
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], |
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
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
####### 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
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
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
#!/bin/sh | |
fastlane ios tests | |
pod lib lint --quick |
NewerOlder