Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pipeline com CircleCI & Firebase Test Lab
Search
Rafael Toledo
February 06, 2018
Programming
2
370
Pipeline com CircleCI & Firebase Test Lab
Apresentado no Android Meetup do GDG-SP
Rafael Toledo
February 06, 2018
Tweet
Share
More Decks by Rafael Toledo
See All by Rafael Toledo
Gamedev com Kotlin Native
rafaeltoledo
0
59
Kotlin Multiplataforma: Compartilhando código entre Android e iOS
rafaeltoledo
0
290
Motion Layout
rafaeltoledo
1
120
Pipeline Android
rafaeltoledo
3
140
Android Architecture Components
rafaeltoledo
7
140
What's New in Kotlin 1.3
rafaeltoledo
0
130
An Overview of Multiplatform Kotlin
rafaeltoledo
2
110
Compartilhando Código com Kotlin Multiplataforma
rafaeltoledo
2
240
Android Assíncrono
rafaeltoledo
3
200
Other Decks in Programming
See All in Programming
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
640
ファインディの テックブログ爆誕までの軌跡
starfish719
2
1.1k
技術を根付かせる / How to make technology take root
kubode
1
240
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
160
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
130
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
120
sappoRo.R #12 初心者セッション
kosugitti
0
230
DROBEの生成AI活用事例 with AWS
ippey
0
130
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
260
チームリードになって変わったこと
isaka1022
0
190
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
180
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
How to Ace a Technical Interview
jacobian
276
23k
Thoughts on Productivity
jonyablonski
69
4.5k
GraphQLとの向き合い方2022年版
quramy
44
13k
Code Review Best Practice
trishagee
66
17k
A Tale of Four Properties
chriscoyier
158
23k
Visualization
eitanlees
146
15k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Automating Front-end Workflow
addyosmani
1367
200k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
Transcript
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
# .circleci/config.yml version: 2 jobs: build: working_directory: ~/my-project docker: -
image: circleci/android:api-27-alpha environment: JVM_OPTS: -Xmx3072m CIRCLE_JDK_VERSION: oraclejdk8 ...
# app/build.gradle android { ... signingConfigs { storeFile file("$rootDir/release.jks") storePassword
'12345678' keyAlias 'myawesomeapp' keyPassword '12345678' } }
# app/build.gradle android { ... signingConfigs { storeFile file("$rootDir/release.jks") storePassword
'12345678' keyAlias 'myawesomeapp' keyPassword '12345678' } }
# app/build.gradle android { ... signingConfigs { storeFile file(System.env.RELEASE_STORE_FILE) storePassword
System.env.RELEASE_STORE_PASSWORD keyAlias System.env.RELEASE_KEY_ALIAS keyPassword System.env.RELEASE_KEY_PASSWORD } }
... environment: JVM_OPTS: -Xmx3072m CIRCLE_JDK_VERSION: oraclejdk8 RELEASE_STORE_PASSWORD: 12345678 API_KEY_QUE_CUSTA_MUITOS_DOLARES: a1b2c3d4e5f6
None
None
None
None
None
None
None
None
None
None
None
... - run: name: Run Tests on Firebase Test Lab
command: | echo "${FIREBASE_TOKEN}" >> "secret.json" curl -0 https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.zip unzip -qq google-cloud-sdk.zip ./google-cloud-sdk/bin/gcloud config set project my-project ./google-cloud-sdk/bin/gcloud auth activate-service-account --key-file secret.json
... ./google-cloud-sdk/bin/gcloud firebase test android run --app app/build/outputs/apk/debug/app-debug.apk --test app/build/outputs/apk/androidTest/app-debug-androidTest.apk
--device-ids sailfish,NexusLowRes,hammerhead --os-version-ids 19,23,27 --locales en --orientations portrait
None
... - run: name: Deploy to Crashlytics Beta command: ./gradlew
crashlyticsUploadDistributionRelease
... # https://github.com/Triple-T/gradle-play-publisher - run: name: Deploy to Google Play
command: ./gradlew publishApkRelease
None
The Social Project rafaeltoledo.net
None
None
None