Commit ce3261aa authored by Maurice Kraus's avatar Maurice Kraus
Browse files

build: this starts to connect gitlab and Bitrise

parent a792855f
Pipeline #1870 failed
image: cfmanteiga/alpine-bash-curl-jq
stages:
- lint
- test
- test_flight
- upload_symbols
variables:
LANG: "en_US.UTF-8"
LC_ALL: "en_US.UTF-8"
cache:
key: xcode1131
paths:
- Carthage
#- test
#- test_flight
#- upload_symbols
before_script:
- echo 'unset cd'>>~/.bash_profile; source ~/.bash_profile
- rvm use 2.6
- which ruby
- gem install bundler && bundle update
- "cat $FIREBASE_INFO_PLIST > GoogleService-Info.plist"
lint:
tags:
- ios
stage: lint
script:
- bundle exec fastlane lint
- ./gitrise.sh -w "Lint-Workflow" -b "$CI_COMMIT_REF_NAME" -a "$BITRISE_TOKEN" -s "$BITRISE_PROJ_SLUG"
only:
- branches
except:
......@@ -35,25 +22,25 @@ lint:
- fastlane/swiftlint.html
allow_failure: false
test:
tags:
- ios
stage: test
script:
- carthage bootstrap --platform iOS --cache-builds --no-use-binaries
- bundle exec fastlane test
only:
- branches
except:
- tags
artifacts:
paths:
- fastlane/test_output/
reports:
junit: fastlane/report.xml
allow_failure: false
#test:
# tags:
# - ios
# stage: test
# script:
# - carthage bootstrap --platform iOS --cache-builds --no-use-binaries
# - bundle exec fastlane test
# only:
# - branches
# except:
# - tags
# artifacts:
# paths:
# - fastlane/test_output/
# reports:
# junit: fastlane/report.xml
# allow_failure: false
test_flight:
#test_flight:
tags:
- ios
stage: test_flight
......@@ -67,14 +54,14 @@ test_flight:
name: test_flight
allow_failure: true
upload_symbols:
tags:
- ios
stage: upload_symbols
script:
- bundle exec fastlane upload_debug_symbols version_number:$APP_VERSION
only:
- /^develop-.*/
- develop
when: manual
allow_failure: false
#upload_symbols:
# tags:
# - ios
# stage: upload_symbols
# script:
# - bundle exec fastlane upload_debug_symbols version_number:$APP_VERSION
# only:
# - /^develop-.*/
# - develop
# when: manual
# allow_failure: false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment