|
|
|
@ -25,8 +25,12 @@ matrix:
@@ -25,8 +25,12 @@ matrix:
|
|
|
|
|
sudo: required |
|
|
|
|
- dist: trusty |
|
|
|
|
language: android |
|
|
|
|
env: SPEC=android-clang CONFIG=installer |
|
|
|
|
env: SPEC=android-clang CONFIG=installer BITNESS=32 |
|
|
|
|
sudo: false |
|
|
|
|
- dist: trusty |
|
|
|
|
language: android |
|
|
|
|
env: SPEC=android-clang CONFIG=installer BITNESS=64 |
|
|
|
|
sudo: false |
|
|
|
|
- os: osx |
|
|
|
|
osx_image: xcode9.2 |
|
|
|
|
env: SPEC=macx-clang CONFIG=installer |
|
|
|
@ -141,7 +145,7 @@ before_script:
@@ -141,7 +145,7 @@ before_script:
|
|
|
|
|
- if [ "${SPEC}" = "android-clang" ]; then |
|
|
|
|
git remote set-branches origin 'master' && |
|
|
|
|
git fetch --tags origin master && |
|
|
|
|
./tools/update_android_version.sh; |
|
|
|
|
./tools/update_android_version.sh ${BITNESS}; |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
script: |
|
|
|
@ -185,7 +189,8 @@ after_success:
@@ -185,7 +189,8 @@ after_success:
|
|
|
|
|
pip install --user --upgrade oauth2client && |
|
|
|
|
pip install --user google-api-python-client pyopenssl ndg-httpsclient pyasn1 && |
|
|
|
|
openssl aes-256-cbc -K $encrypted_25db6eb7c3fd_key -iv $encrypted_25db6eb7c3fd_iv -in android/Google_Play_Android_Developer-4432a3c4f5d1.json.enc -out android/Google_Play_Android_Developer-4432a3c4f5d1.json -d && |
|
|
|
|
./tools/google_play_upload.py production ${GOOGLE_PLAY_PKG} ${SHADOW_BUILD_DIR}/release/package/QGroundControl.apk; |
|
|
|
|
cp ${SHADOW_BUILD_DIR}/release/package/QGroundControl.apk ${SHADOW_BUILD_DIR}/release/package/QGroundControl${BITNESS}.apk |
|
|
|
|
./tools/google_play_upload.py production ${GOOGLE_PLAY_PKG} ${SHADOW_BUILD_DIR}/release/package/QGroundControl${BITNESS}.apk; |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
before_deploy: |
|
|
|
|