2017-11-06 23:45:48 +00:00
|
|
|
defaults: &defaults
|
|
|
|
working_directory: ~/repo
|
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
macos: &macos
|
|
|
|
macos:
|
2020-07-13 16:52:14 +00:00
|
|
|
xcode: "11.5.0"
|
2020-05-20 16:33:40 +00:00
|
|
|
|
|
|
|
bash-env: &bash-env
|
|
|
|
BASH_ENV: "~/.nvm/nvm.sh"
|
|
|
|
|
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
# EXECUTORS
|
|
|
|
executors:
|
|
|
|
mac-env:
|
|
|
|
<<: *macos
|
|
|
|
environment:
|
|
|
|
<<: *bash-env
|
|
|
|
|
|
|
|
# COMMANDS
|
|
|
|
commands:
|
|
|
|
detox-test:
|
|
|
|
parameters:
|
|
|
|
folder:
|
|
|
|
type: string
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-npm-cache-mac
|
|
|
|
- restore-brew-cache
|
|
|
|
- install-node
|
|
|
|
- install-apple-sim-utils
|
|
|
|
- install-npm-modules
|
|
|
|
- rebuild-detox
|
|
|
|
- run:
|
|
|
|
name: Test
|
|
|
|
command: |
|
|
|
|
npx detox test << parameters.folder >> --configuration ios.sim.release --cleanup
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
install-npm-modules:
|
|
|
|
description: Install NPM modules
|
|
|
|
steps:
|
|
|
|
- run: yarn
|
|
|
|
|
|
|
|
restore-npm-cache-linux:
|
|
|
|
description: Restore NPM cache
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: node-modules-{{ checksum "yarn.lock" }}
|
|
|
|
|
|
|
|
save-npm-cache-linux:
|
|
|
|
description: Save NPM cache
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: node-modules-{{ checksum "yarn.lock" }}
|
|
|
|
paths:
|
|
|
|
- ./node_modules
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
restore-npm-cache-mac:
|
|
|
|
description: Restore NPM cache
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: node-v1-mac-{{ checksum "yarn.lock" }}
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
save-npm-cache-mac:
|
|
|
|
description: Save NPM cache
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: node-v1-mac-{{ checksum "yarn.lock" }}
|
|
|
|
paths:
|
|
|
|
- ./node_modules
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
install-node:
|
|
|
|
description: Install Node
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
command: |
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
|
|
|
|
source ~/.nvm/nvm.sh
|
|
|
|
INSTALLED_NODE=`nvm which current`
|
|
|
|
echo "export PATH=\"${INSTALLED_NODE%%/node}:\$PATH\"" >> ~/.bash_profile
|
|
|
|
source ~/.bash_profile
|
|
|
|
|
|
|
|
restore-gems-cache:
|
|
|
|
description: Restore gems cache
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
save-gems-cache:
|
|
|
|
description: Save gems cache
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: bundle-v1-{{ checksum "ios/Gemfile.lock" }}
|
|
|
|
paths:
|
|
|
|
- vendor/bundle
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
update-fastlane-ios:
|
|
|
|
description: Update Fastlane
|
|
|
|
steps:
|
2020-05-20 16:33:40 +00:00
|
|
|
- run:
|
|
|
|
command: |
|
2020-07-20 15:26:42 +00:00
|
|
|
echo "ruby-2.6.4" > ~/.ruby-version
|
|
|
|
bundle install
|
|
|
|
working_directory: ios
|
|
|
|
|
|
|
|
update-fastlane-android:
|
|
|
|
description: Update Fastlane
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
command: |
|
|
|
|
echo "ruby-2.6.4" > ~/.ruby-version
|
|
|
|
bundle install
|
|
|
|
working_directory: android
|
|
|
|
|
|
|
|
restore-gradle-cache:
|
|
|
|
description: Restore gradle cache
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
|
|
|
|
|
|
|
save-gradle-cache:
|
|
|
|
description: Save gradle cache
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: android-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
|
|
|
|
paths:
|
|
|
|
- ~/.gradle
|
|
|
|
|
|
|
|
restore-brew-cache:
|
|
|
|
description: Restore Brew cache
|
|
|
|
steps:
|
|
|
|
- restore_cache:
|
|
|
|
key: brew-{{ checksum "yarn.lock" }}-{{ checksum ".circleci/config.yml" }}
|
|
|
|
|
|
|
|
save-brew-cache:
|
|
|
|
description: Save brew cache
|
|
|
|
steps:
|
|
|
|
- save_cache:
|
|
|
|
key: brew-{{ checksum "yarn.lock" }}-{{ checksum ".circleci/config.yml" }}
|
|
|
|
paths:
|
|
|
|
- /usr/local/Homebrew
|
|
|
|
|
|
|
|
install-apple-sim-utils:
|
|
|
|
description: Install appleSimUtils
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
command: |
|
|
|
|
brew update
|
|
|
|
brew tap wix/brew
|
|
|
|
brew install wix/brew/applesimutils
|
|
|
|
|
|
|
|
rebuild-detox:
|
|
|
|
description: Rebuild Detox framework cache
|
|
|
|
steps:
|
|
|
|
- run:
|
|
|
|
command: |
|
|
|
|
npx detox clean-framework-cache
|
|
|
|
npx detox build-framework-cache
|
2020-05-20 16:33:40 +00:00
|
|
|
|
|
|
|
# JOBS
|
2017-11-06 23:45:48 +00:00
|
|
|
jobs:
|
|
|
|
lint-testunit:
|
|
|
|
<<: *defaults
|
|
|
|
docker:
|
2020-05-08 16:37:49 +00:00
|
|
|
- image: circleci/node:10
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
environment:
|
|
|
|
CODECOV_TOKEN: caa771ab-3d45-4756-8e2a-e1f25996fef6
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-npm-cache-linux
|
2019-02-07 15:48:10 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-npm-modules
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Lint
|
|
|
|
command: |
|
2019-02-07 15:48:10 +00:00
|
|
|
yarn lint
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Test
|
|
|
|
command: |
|
2019-02-07 15:48:10 +00:00
|
|
|
yarn test
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Codecov
|
|
|
|
command: |
|
2019-02-07 15:48:10 +00:00
|
|
|
yarn codecov
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-npm-cache-linux
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
# E2E
|
2020-03-03 20:27:38 +00:00
|
|
|
e2e-build:
|
2020-05-20 16:33:40 +00:00
|
|
|
executor: mac-env
|
2018-05-23 13:39:18 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-npm-cache-mac
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-brew-cache
|
2018-05-23 13:39:18 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-node
|
2018-05-23 13:39:18 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-apple-sim-utils
|
2018-05-23 13:39:18 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-npm-modules
|
2020-05-20 16:33:40 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- rebuild-detox
|
2020-03-03 20:27:38 +00:00
|
|
|
|
2018-05-23 13:39:18 +00:00
|
|
|
- run:
|
|
|
|
name: Build
|
|
|
|
command: |
|
2020-05-20 16:33:40 +00:00
|
|
|
npx detox build --configuration ios.sim.release
|
2018-05-23 13:39:18 +00:00
|
|
|
|
2020-03-03 20:27:38 +00:00
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- ios/build/Build/Products/Release-iphonesimulator/RocketChatRN.app
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-npm-cache-mac
|
|
|
|
|
|
|
|
- save-brew-cache
|
2020-03-03 20:27:38 +00:00
|
|
|
|
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
e2e-test-onboarding:
|
|
|
|
executor: mac-env
|
2020-03-03 20:27:38 +00:00
|
|
|
steps:
|
2020-05-20 16:33:40 +00:00
|
|
|
- detox-test:
|
|
|
|
folder: "./e2e/tests/onboarding"
|
2020-03-03 20:27:38 +00:00
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
e2e-test-room:
|
|
|
|
executor: mac-env
|
|
|
|
steps:
|
|
|
|
- detox-test:
|
|
|
|
folder: "./e2e/tests/room"
|
2018-05-23 13:39:18 +00:00
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
e2e-test-assorted:
|
|
|
|
executor: mac-env
|
|
|
|
steps:
|
|
|
|
- detox-test:
|
|
|
|
folder: "./e2e/tests/assorted"
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
# Android builds
|
2017-11-06 23:45:48 +00:00
|
|
|
android-build:
|
|
|
|
<<: *defaults
|
|
|
|
docker:
|
2019-05-22 20:15:35 +00:00
|
|
|
- image: circleci/android:api-28-node
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
environment:
|
2019-08-07 13:51:34 +00:00
|
|
|
JAVA_OPTS: '-Xms512m -Xmx2g'
|
|
|
|
GRADLE_OPTS: '-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx2g -XX:+HeapDumpOnOutOfMemoryError"'
|
2017-11-06 23:45:48 +00:00
|
|
|
TERM: dumb
|
2020-05-20 16:33:40 +00:00
|
|
|
<<: *bash-env
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-node
|
2019-08-23 13:18:47 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-npm-cache-linux
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-npm-modules
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- update-fastlane-android
|
2020-06-16 13:31:07 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-gradle-cache
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- run:
|
2017-11-07 17:29:32 +00:00
|
|
|
name: Configure Gradle
|
2017-11-06 23:45:48 +00:00
|
|
|
command: |
|
2018-01-10 02:35:31 +00:00
|
|
|
echo -e "" > ./gradle.properties
|
2019-08-07 13:51:34 +00:00
|
|
|
# echo -e "android.enableAapt2=false" >> ./gradle.properties
|
|
|
|
echo -e "android.useAndroidX=true" >> ./gradle.properties
|
|
|
|
echo -e "android.enableJetifier=true" >> ./gradle.properties
|
2020-05-08 16:37:49 +00:00
|
|
|
echo -e "FLIPPER_VERSION=0.33.1" >> ./gradle.properties
|
2018-01-10 02:35:31 +00:00
|
|
|
|
|
|
|
if [[ $KEYSTORE ]]; then
|
|
|
|
echo $KEYSTORE_BASE64 | base64 --decode > ./app/$KEYSTORE
|
|
|
|
echo -e "KEYSTORE=$KEYSTORE" >> ./gradle.properties
|
|
|
|
echo -e "KEYSTORE_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties
|
|
|
|
echo -e "KEY_ALIAS=$KEY_ALIAS" >> ./gradle.properties
|
|
|
|
echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties
|
|
|
|
fi
|
|
|
|
|
2017-11-07 16:58:33 +00:00
|
|
|
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
|
2019-08-23 13:18:47 +00:00
|
|
|
echo -e "BugsnagAPIKey=$BUGSNAG_KEY" >> ./gradle.properties
|
2020-02-05 16:44:31 +00:00
|
|
|
working_directory: android
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2019-05-31 12:41:37 +00:00
|
|
|
- run:
|
|
|
|
name: Set Google Services
|
|
|
|
command: |
|
|
|
|
cp google-services.prod.json google-services.json
|
2019-08-23 13:18:47 +00:00
|
|
|
working_directory: android/app
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Config variables
|
|
|
|
command: |
|
|
|
|
echo -e "export default { BUGSNAG_API_KEY: '$BUGSNAG_KEY' };" > ./config.js
|
2019-05-31 12:41:37 +00:00
|
|
|
|
2017-11-07 17:29:32 +00:00
|
|
|
- run:
|
|
|
|
name: Build Android App
|
|
|
|
command: |
|
2018-01-10 02:35:31 +00:00
|
|
|
if [[ $KEYSTORE ]]; then
|
2020-06-16 13:31:07 +00:00
|
|
|
bundle exec fastlane android release
|
2018-01-10 02:35:31 +00:00
|
|
|
else
|
2020-06-16 13:31:07 +00:00
|
|
|
bundle exec fastlane android build
|
2018-01-10 02:35:31 +00:00
|
|
|
fi
|
2020-02-05 16:44:31 +00:00
|
|
|
working_directory: android
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-02-14 19:12:06 +00:00
|
|
|
- run:
|
|
|
|
name: Upload sourcemaps to Bugsnag
|
|
|
|
command: |
|
|
|
|
if [[ $BUGSNAG_KEY ]]; then
|
|
|
|
yarn generate-source-maps-android upload \
|
|
|
|
--api-key=$BUGSNAG_KEY \
|
|
|
|
--app-version=$CIRCLE_BUILD_NUM \
|
|
|
|
--minifiedFile=android/app/build/generated/assets/react/release/app.bundle \
|
|
|
|
--source-map=android/app/build/generated/sourcemaps/react/release/app.bundle.map \
|
|
|
|
--minified-url=app.bundle \
|
|
|
|
--upload-sources
|
|
|
|
fi
|
|
|
|
|
2017-11-06 23:45:48 +00:00
|
|
|
- store_artifacts:
|
2020-06-16 13:31:07 +00:00
|
|
|
path: android/app/build/outputs
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-npm-cache-linux
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-gradle-cache
|
2020-06-16 13:31:07 +00:00
|
|
|
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
2017-11-06 23:45:48 +00:00
|
|
|
paths:
|
2020-06-16 13:31:07 +00:00
|
|
|
- android/fastlane/report.xml
|
|
|
|
- android/app/build/outputs
|
|
|
|
|
|
|
|
android-google-play-alpha:
|
|
|
|
<<: *defaults
|
|
|
|
docker:
|
|
|
|
- image: circleci/android:api-28-node
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- attach_workspace:
|
|
|
|
at: android
|
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Store the google service account key
|
|
|
|
command: echo "$FASTLANE_GOOGLE_SERVICE_ACCOUNT" | base64 --decode > service_account.json
|
|
|
|
working_directory: android
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- update-fastlane-android
|
2020-06-16 13:31:07 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Fastlane Play Store Upload
|
|
|
|
command: bundle exec fastlane android alpha
|
|
|
|
working_directory: android
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-05-20 16:33:40 +00:00
|
|
|
# iOS builds
|
2017-11-06 23:45:48 +00:00
|
|
|
ios-build:
|
2020-05-20 16:33:40 +00:00
|
|
|
executor: mac-env
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-gems-cache
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-npm-cache-mac
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-node
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- install-npm-modules
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- update-fastlane-ios
|
2017-11-06 23:45:48 +00:00
|
|
|
|
2019-05-31 12:41:37 +00:00
|
|
|
- run:
|
|
|
|
name: Set Google Services
|
|
|
|
command: |
|
|
|
|
cp GoogleService-Info.prod.plist GoogleService-Info.plist
|
2019-07-04 11:23:31 +00:00
|
|
|
working_directory: ios
|
2019-05-31 12:41:37 +00:00
|
|
|
|
2019-08-23 13:18:47 +00:00
|
|
|
- run:
|
|
|
|
name: Upload sourcemaps to Bugsnag
|
|
|
|
command: |
|
|
|
|
if [[ $BUGSNAG_KEY ]]; then
|
|
|
|
yarn generate-source-maps-ios
|
|
|
|
curl https://upload.bugsnag.com/react-native-source-map \
|
|
|
|
-F apiKey=$BUGSNAG_KEY \
|
|
|
|
-F appBundleVersion=$CIRCLE_BUILD_NUM \
|
|
|
|
-F dev=false \
|
|
|
|
-F platform=ios \
|
|
|
|
-F sourceMap=@ios-release.bundle.map \
|
|
|
|
-F bundle=@ios-release.bundle
|
|
|
|
fi
|
|
|
|
|
2017-11-06 23:45:48 +00:00
|
|
|
- run:
|
|
|
|
name: Fastlane Build
|
|
|
|
no_output_timeout: 1200
|
|
|
|
command: |
|
2017-11-07 16:58:33 +00:00
|
|
|
agvtool new-version -all $CIRCLE_BUILD_NUM
|
2019-08-23 13:18:47 +00:00
|
|
|
/usr/libexec/PlistBuddy -c "Set BugsnagAPIKey $BUGSNAG_KEY" ./RocketChatRN/Info.plist
|
2018-01-10 02:35:31 +00:00
|
|
|
|
|
|
|
if [[ $MATCH_KEYCHAIN_NAME ]]; then
|
2019-07-04 11:23:31 +00:00
|
|
|
bundle exec fastlane ios release
|
2018-01-10 02:35:31 +00:00
|
|
|
else
|
|
|
|
export MATCH_KEYCHAIN_NAME="temp"
|
|
|
|
export MATCH_KEYCHAIN_PASSWORD="temp"
|
2019-07-04 11:23:31 +00:00
|
|
|
bundle exec fastlane ios build
|
2018-01-10 02:35:31 +00:00
|
|
|
fi
|
2019-07-04 11:23:31 +00:00
|
|
|
working_directory: ios
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-npm-cache-mac
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-gems-cache
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- store_artifacts:
|
|
|
|
path: ios/RocketChatRN.ipa
|
|
|
|
|
|
|
|
- persist_to_workspace:
|
2018-01-10 21:06:19 +00:00
|
|
|
root: .
|
2017-11-06 23:45:48 +00:00
|
|
|
paths:
|
2018-01-10 21:06:19 +00:00
|
|
|
- ios/*.ipa
|
|
|
|
- ios/fastlane/report.xml
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
ios-testflight:
|
2020-05-20 16:33:40 +00:00
|
|
|
executor: mac-env
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
|
|
|
|
- attach_workspace:
|
|
|
|
at: ios
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- restore-gems-cache
|
2019-07-04 11:23:31 +00:00
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- update-fastlane-ios
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- run:
|
|
|
|
name: Fastlane Tesflight Upload
|
|
|
|
command: |
|
2019-08-23 13:18:47 +00:00
|
|
|
bundle exec fastlane ios beta
|
2019-07-04 11:23:31 +00:00
|
|
|
working_directory: ios
|
|
|
|
|
2020-07-20 15:26:42 +00:00
|
|
|
- save-gems-cache
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
workflows:
|
|
|
|
build-and-test:
|
|
|
|
jobs:
|
|
|
|
- lint-testunit
|
2019-06-03 19:20:36 +00:00
|
|
|
|
|
|
|
- e2e-hold:
|
|
|
|
type: approval
|
|
|
|
requires:
|
|
|
|
- lint-testunit
|
2020-03-03 20:27:38 +00:00
|
|
|
- e2e-build:
|
2019-06-03 19:20:36 +00:00
|
|
|
requires:
|
|
|
|
- e2e-hold
|
2020-05-20 16:33:40 +00:00
|
|
|
- e2e-test-onboarding:
|
|
|
|
requires:
|
|
|
|
- e2e-build
|
|
|
|
- e2e-test-room:
|
|
|
|
requires:
|
|
|
|
- e2e-build
|
|
|
|
- e2e-test-assorted:
|
2020-03-03 20:27:38 +00:00
|
|
|
requires:
|
|
|
|
- e2e-build
|
2017-11-06 23:45:48 +00:00
|
|
|
|
|
|
|
- ios-build:
|
|
|
|
requires:
|
|
|
|
- lint-testunit
|
2018-12-18 13:03:36 +00:00
|
|
|
- ios-hold-testflight:
|
|
|
|
type: approval
|
2017-11-06 23:45:48 +00:00
|
|
|
requires:
|
|
|
|
- ios-build
|
2018-12-18 13:03:36 +00:00
|
|
|
- ios-testflight:
|
|
|
|
requires:
|
|
|
|
- ios-hold-testflight
|
2018-02-19 21:15:31 +00:00
|
|
|
|
2017-11-06 23:45:48 +00:00
|
|
|
- android-build:
|
|
|
|
requires:
|
|
|
|
- lint-testunit
|
2020-06-16 13:31:07 +00:00
|
|
|
- android-hold-google-play-alpha:
|
|
|
|
type: approval
|
|
|
|
requires:
|
|
|
|
- android-build
|
|
|
|
- android-google-play-alpha:
|
|
|
|
requires:
|
|
|
|
- android-hold-google-play-alpha
|