Skip to content

Commit

Permalink
Add ZAZIC scale up prod android flavour.
Browse files Browse the repository at this point in the history
  • Loading branch information
benkags committed Jul 23, 2020
1 parent 7675bdc commit 8308bdd
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 52 deletions.
39 changes: 3 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,44 +18,11 @@ jobs:
include:
- stage: test
script: make test

- stage: deploy
# flavors sorted alphabetically with three per job
script:
- fastlane deploy flavor:unbranded
- fastlane deploy flavor:medicmobiledemo
- fastlane deploy flavor:bracuganda
- script:
- fastlane deploy flavor:cic_guatemala
- fastlane deploy flavor:cmmb_kenya
- fastlane deploy flavor:ebpp_indonesia
- fastlane deploy flavor:hope_through_health
- script:
- fastlane deploy flavor:livinggoods
- fastlane deploy flavor:livinggoodskenya
- fastlane deploy flavor:livinggoods_assisted_networks
- script:
- fastlane deploy flavor:livinggoods_innovation_ke
- fastlane deploy flavor:livinggoods_innovation_ke_supervisor
- fastlane deploy flavor:livinggoods_innovation_ke_hivst
- script:
# - fastlane deploy flavor:moh_kenya_siaya_white
- fastlane deploy flavor:moh_kenya_siaya_red
- fastlane deploy flavor:moh_kenya_siaya_green
- fastlane deploy flavor:moh_kenya_siaya_black
- fastlane deploy flavor:moh_mali
- script:
- fastlane deploy flavor:moh_zanzibar_training
- fastlane deploy flavor:moh_zanzibar
- script:
- fastlane deploy flavor:musomali
- fastlane deploy flavor:pih_malawi
- fastlane deploy flavor:pih_malawi_supervisor
- script:
- fastlane deploy flavor:simprints
- fastlane deploy flavor:surveillance_covid19_kenya
- fastlane deploy flavor:vhw_burundi
- script:
- fastlane deploy flavor:zazic_scale_up
before_install:
- openssl aes-256-cbc -K $encrypted_323c4a109760_key -iv $encrypted_323c4a109760_iv -in secrets.tar.gz.enc -out ./secrets.tar.gz -d
- tar -xf ./secrets.tar.gz
Expand All @@ -80,4 +47,4 @@ deploy:
on:
tags: true
repo: medic/medic-android
branch: master
branch: zazic-scale-up
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ android {
surveillance_covid19_kenya {
applicationId = 'org.medicmobile.webapp.mobile.surveillance_covid19_kenya'
}
zazic_scale_up {
applicationId = 'org.medicmobile.webapp.mobile.zazic_scale_up'
}
}

splits {
Expand Down
16 changes: 0 additions & 16 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,5 @@ platform :android do

gradle(task: gradleTaskName)

supply(
package_name: package_name,
track: "alpha",
json_key: "playstore-secret.json",
apk_paths: [
"build/outputs/apk/#{options[:flavor]}/release/medic-android-#{version}-#{options[:flavor]}-arm64-v8a-release.apk",
"build/outputs/apk/#{options[:flavor]}/release/medic-android-#{version}-#{options[:flavor]}-armeabi-v7a-release.apk",
],
skip_upload_aab: true,
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
validate_only: false,

timeout: 3600,
)
end
end
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/zazic_scale_up/res/mipmap-mdpi/zazic.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/zazic_scale_up/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">ZAZIC 2WT</string>
<string name="fixed_app_url">https://zazic-scale-up.app.medicmobile.org</string>
</resources>

0 comments on commit 8308bdd

Please sign in to comment.