mirror of
https://github.com/home-assistant/android
synced 2024-10-01 13:53:53 +00:00
[FIREBASE] App Distribution (#14)
* Wrong path to Service Account * Run Unit test on pr and on branch
This commit is contained in:
parent
1ec669db9d
commit
b3191ae337
|
@ -6,8 +6,8 @@ then
|
|||
tar xvf .travis/secrets.tar
|
||||
mv google-services.json app/google-services.json
|
||||
mv upload_keystore.keystore app/release_keystore.keystore
|
||||
mv home-assistant-mobile-apps-5fd6b9dd0fdb.json app/firebaseAppDistributionServiceCredentialsFile.json
|
||||
mv home-assistant-mobile-apps-0b13292f44c4.json app/playStorePublishServiceCredentialsFile.json
|
||||
mv home-assistant-mobile-apps-5fd6b9dd0fdb.json firebaseAppDistributionServiceCredentialsFile.json
|
||||
else
|
||||
mv .travis/mock-google-services.json app/google-services.json
|
||||
fi
|
|
@ -3,6 +3,8 @@
|
|||
echo $TRAVIS_COMMIT_MESSAGE > CHANGES.md
|
||||
export VERSION_CODE=`git rev-list --count HEAD`
|
||||
|
||||
./gradlew testReleaseUnitTest
|
||||
|
||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ]
|
||||
then
|
||||
if [ "$TRAVIS_BRANCH" = "master" ]
|
||||
|
@ -14,6 +16,4 @@ then
|
|||
./gradlew publishReleaseBundle
|
||||
fi
|
||||
fi
|
||||
else
|
||||
./gradlew testReleaseUnitTest
|
||||
fi
|
Loading…
Reference in a new issue