Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Shaik Ghouse
/
StoryBook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ca9e5c35
authored
Dec 11, 2017
by
Shaik Ghouse
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add .gitlab-ci.yml
parent
d56d868b
Pipeline
#5
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
.gitlab-ci.yml
.gitlab-ci.yml
0 → 100644
View file @
ca9e5c35
# This file is a template, and might need editing before it works on your project.
# Lifted from: https://about.gitlab.com/2016/03/10/setting-up-gitlab-ci-for-ios-projects/
# This file assumes an own GitLab CI runner, setup on an OS X system.
stages
:
-
build
-
archive
build_project
:
stage
:
build
script
:
-
xcodebuild clean -project ProjectName.xcodeproj -scheme SchemeName | xcpretty
-
xcodebuild test -project ProjectName.xcodeproj -scheme SchemeName -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.2' | xcpretty -s
tags
:
-
ios_9-2
-
xcode_7-2
-
osx_10-11
archive_project
:
stage
:
archive
script
:
-
xcodebuild clean archive -archivePath build/ProjectName -scheme SchemeName
-
xcodebuild -exportArchive -exportFormat ipa -archivePath "build/ProjectName.xcarchive" -exportPath "build/ProjectName.ipa" -exportProvisioningProfile "ProvisioningProfileName"
only
:
-
master
artifacts
:
paths
:
-
build/ProjectName.ipa
tags
:
-
ios_9-2
-
xcode_7-2
-
osx_10-11
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