-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
42 lines (37 loc) · 1.07 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
before_script:
- export LANG=en_US.UTF-8
- export PATH=$PATH:/usr/local/bin
# download and load envs
- python tools/download.py --token ${AUTO_CLOSE_TOKEN} --key-version agxzfmF1dG8tY2xvc2VyGAsSC1Byb2plY3RLZXlzGICAgJCo7pAJDA
# install submodules
- git submodule update --init --recursive
# update gems & bundle
- gem install bundler
- gem outdated
- gem update
- bundle install
- chmod 755 InRepoFrameworks/Crashlytics/iOS/Crashlytics.framework/submit
- chmod 755 InRepoFrameworks/Crashlytics/iOS/Crashlytics.framework/run
production:
type: build
script: "bundle exec fastlane ios production --env production"
tags:
- xcode9.0
only:
- develop
- /^production-.*$/
alpha:
type: build
script: "bundle exec fastlane ios stage --env staging"
tags:
- xcode9.0
except:
- /^local-.*$/ # any git refs (e.g. tag) starting with "appstore-"
- /^translations-.*$/ # any git refs (e.g. tag) starting with "appstore-"
local:
type: build
script: "bundle exec fastlane ios local --env local"
tags:
- xcode9.0
only:
- develop