Skip to content
Snippets Groups Projects
Commit bba8974c authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

Add .gitlab-ci.yml

parent 550667a9
No related branches found
No related tags found
No related merge requests found
Pipeline #3404 canceled
stages:
- setup
- build
- lint
- docs
- deploy
setup:
stage: setup
script:
- pod repo update
tags:
- xcode
build:
stage: build
script:
- cd Example/
- pod install
- cd ../
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/WhiteNavigationController.xcworkspace -scheme WhiteNavigationController-Example -sdk iphonesimulator12.1 ONLY_ACTIVE_ARCH=NO | xcpretty
tags:
- xcode
cocoapods-lint:
stage: lint
script:
- pod lib lint
tags:
- xcode
swiftlint:
stage: lint
script:
- swiftlint
tags:
- xcode
jazzy-docs:
stage: docs
script:
- jazzy --podspec WhiteNavigationController.podspec --output docs
tags:
- xcode
artifacts:
paths:
- docs
pages:
dependencies:
- jazzy-docs
stage: deploy
script:
- mv docs/ public/
tags:
- xcode
artifacts:
paths:
- public
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment