Skip to content

Commit

Permalink
Add gamma flavour
Browse files Browse the repository at this point in the history
  • Loading branch information
garethbowen committed Nov 23, 2020
1 parent c12c6c6 commit 27ce3ed
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 51 deletions.
36 changes: 1 addition & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,7 @@ jobs:
- 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:medicmobilegamma
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,3 @@ deploy:
on:
tags: true
repo: medic/medic-android
branch: master
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ android {
medicmobiledemo {
applicationId = 'org.medicmobile.webapp.mobile.medicmobiledemo'
}
medicmobilegamma {
applicationId = 'org.medicmobile.webapp.mobile.medicmobilegamma'
}

bracuganda {
applicationId = 'org.medicmobile.webapp.mobile.bracuganda'
Expand Down
32 changes: 16 additions & 16 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ 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,
)
# 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

0 comments on commit 27ce3ed

Please sign in to comment.