Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
df5905f3
Unverified
Commit
df5905f3
authored
Mar 28, 2018
by
xster
Committed by
GitHub
Mar 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let travis test archiving per commit too (#16004)
parent
77403ba6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
travis_script.sh
dev/bots/travis_script.sh
+8
-3
Fastfile
examples/flutter_gallery/ios/fastlane/Fastfile
+4
-2
No files found.
dev/bots/travis_script.sh
View file @
df5905f3
...
...
@@ -22,9 +22,14 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
echo
"Building Flutter Gallery for iOS..."
(
cd
examples/flutter_gallery
;
flutter build ios
--release
--no-codesign
)
echo
"iOS Flutter Gallery built"
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
&&
"
$TRAVIS_BRANCH
"
==
"dev"
&&
$version
!=
*
"pre"
*
]]
;
then
echo
"Re-building with distribution profile and deploying to TestFlight..."
(
cd
examples/flutter_gallery/ios
;
bundle
install
&&
bundle
exec
fastlane build_and_deploy_testflight
)
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
]]
;
then
if
[[
"
$TRAVIS_BRANCH
"
==
"dev"
&&
$version
!=
*
"pre"
*
]]
;
then
echo
"Archiving with distribution profile and deploying to TestFlight..."
(
cd
examples/flutter_gallery/ios
;
bundle
install
&&
bundle
exec
fastlane build_and_deploy_testflight upload:true
)
else
echo
"Archiving with distribution profile..."
(
cd
examples/flutter_gallery/ios
;
bundle
install
&&
bundle
exec
fastlane build_and_deploy_testflight
)
fi
else
echo
"Flutter Gallery is only deployed to the TestFlight on merged and tagged dev branch commits"
fi
...
...
examples/flutter_gallery/ios/fastlane/Fastfile
View file @
df5905f3
...
...
@@ -19,7 +19,7 @@ end
# rebuild the app by:
# 1- Signing using the publishing credentials; and
# 2- xcodebuild with archive option
platform :ios do
platform :ios do
|options|
desc 'Push a new release to TestFlight'
lane :build_and_deploy_testflight do
# Doesn't do anything when not on Travis.
...
...
@@ -73,6 +73,8 @@ platform :ios do
codesigning_identity: 'iPhone Distribution: Store Ladd (S8QB4VV633)',
)
upload_to_testflight
if options[:upload]
upload_to_testflight
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment