forked from BimmerGestalt/AAIdrive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (37 loc) · 1.9 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: android
dist: trusty
android:
components:
- extra-google-m2repository
- extra-android-m2repository
- tools
- platform-tools
- build-tools-28.0.3
- android-24
- android-26
- android-28
before_install:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_2fe89d330fd2_key -iv $encrypted_2fe89d330fd2_iv
-in keystore.jks.enc -out keystore.jks -d; fi'
script: "./gradlew check"
after_success:
- "./gradlew testGmapNonalyticsDebugUnitTestCoverage coveralls"
- "./gradlew assembleNomap"
- "echo Found the following artifacts:; find app/build/outputs"
- "echo Hashing the artifacts for traceability:; find app/build/outputs -name '*.apk' -exec sha1sum '{}' +"
- "echo Verifying sha1sum files:; find app/build/outputs -name '*.apk.sha1' -execdir cat '{}' +; find app/build/outputs -name '*.apk.sha1' -execdir sha1sum --check '{}' +"
deploy:
provider: releases
skip_cleanup: true
overwrite: true
api_key:
secure: KP93kqGbNCsJWQKCwgUAW0cnXnOdZlzMOs+OJznYRAy6uAOKhhpCXV375M+DeyLgYrJ+YIeyw7C8ZaTSpbWu5rqCT9DMMLmo2cZ+mbUAubxtDCbmBiM7ZRrnXQpGmBMuNvdSeM42Tc8RYq9fHJph8VEovq36ZalmGr268zl2OYrDOS83BxIUDYrKNPbQtVOgk7xpejkVwovKY9GYTi+F7FAydV3rLB9P8wtOIZqgoYGgvLddZ32Cj8FhF31IXJyYaCUE9R5Kdb4vCuF0JksCv1wqrNh70nLiaR0nwhKpWGtPM+QmW/gyVvB6CxKezm/uXKX3L/YEquybI/glUxoSZHaVTTkP3pGV2nKJjcYB/LlS3yxGXZa62qHEAqu91bDPpJBgnjYztj6fO/ruCbWvk3JW0xG3HeOy5sATbTkDNKsdeRYTv4QuqvufMX2PW8H+9HgepdJk0pW6DveauqG3bOEYQOfo7K3oWfUVqB90/F/0h7uAhQz54qIKA497fgk8ocHxX3xE8u5qMkdT/99LWOhY8nzabnI7vRszJhF6gg919EkiF+bIEWai42CDb0nhC2MdKkJIKbupUQOQx1SkYIgxV/WEvGAU03zBrZmbspAq62YTDS6LqlJqTsZpTLtqxBLFEwN9IZCHIw1QDzXrJQMRRwDJaTiYUeLXKLFmCpk=
file_glob: true
file:
- app/build/outputs/apk/nomapSentry/*/*apk
- app/build/outputs/apk/nomapSentry/*/*apk.sha1
- app/build/outputs/apk/nomapNonalytics/*/*apk
- app/build/outputs/apk/nomapNonalytics/*/*apk.sha1
on:
tags: true
repo: hufman/AndroidAutoIdrive