forked from KeepSafe/dexcount-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 2.15 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
language: android
jdk:
- oraclejdk8
before_install:
# Download SDK
- echo yes | sdkmanager "tools" &>/dev/null
- echo yes | sdkmanager "platform-tools" &>/dev/null
- echo yes | sdkmanager "build-tools;27.0.3" &>/dev/null
- echo yes | sdkmanager "platforms;android-27" &>/dev/null
# Update remaining dependencies and accept licenses
- echo yes | sdkmanager --update &>/dev/null
- echo yes | sdkmanager --licenses &>/dev/null
script:
- ./.buildscript/test.sh
after_success:
- ./.buildscript/deploy_snapshot.sh
env:
global:
- secure: jt1Zcx55jOaZZIbTRdLfe89Uoof3WdHyNylETQzl13M/AdXBRrnmNPiC9nRJaa0thdAbRjtqTCcZ5bkP3eCEywIJ3kaLSUoPzbccH0BMUFFdXBPqwGgY2+XdDJumFPeu/Mg4LyGMN3pzwaOkIql+Wm12up/16P0AfAF8NuA1aSL8Vslmh93tU8Rm0W7jsm1KapaWhH1JF8smKu5UX325GSMpROpze7P0uVz0iqdtqhx4kRtNsMLdwFNaXzovWWIQ4gdoQqVr9tyo3I6o9jptPftcIlqtQoS3S0xqD9ekyh8WlTUkBj0zBn1RKbNI8v4n9qvZ6i4IwL3T446jcjwA2sUrMtdUS+YDVfqJT5PHa7ojaaXg/k0YZ9YyATVY6kjxofDYOAmkU97B+cN7T5Mv42huUjsRyEv8M5xoSm3ls2qgaiAmlXxL/DtFuzXdBTbEkgGu2N1GdgvlOhquzO9IzKQZ8JoJiUUQ9Tl5NxXSjZU3SoRMazw04zN40Q6C/gYJ1hV23VGq7bUQN2we5TSBejOEMgn6ND8oPyKSdqReA+ekwd2EjCYacqTgyvCkWg+dZKPUXbK9lUxuQploiBuOY7WJSv4ANnfeJoxbMx9lydB3ks/J4skuEjc9v20WO74xavsSm7eANJ28xayxqWg3cPJCPd/XVDCt49Hqo0VfZ28=
- secure: Y3UuQXQ6+NQQa7RMp7hf88Biv5VfcPmdz/y1hPaNWg/Ux5xKV9E3CqTCbjJs+dZP8xKo/DLARnDQxUEiBTzmAXOvCGinI9iYgW2zRohhKWWKQ9a/O2cIevXgOJ5pIMTCAEac68ysQpHRw6MtSg/Ha3rGDr0INtghDkvmv4Kn55fz7lun7Pp0koCufyZl1/NE0BgOS556Px4ZbPH4PpdNuD86Xxg2NJam26dPLu8jFvC4JxPfdylQEsR/fBmQtGRk9GLQOqYKH2scA3sipWTBI6SAMHVJScte5FKcnClump8My7NjrZCMT97rk7iETN97/IxWe2yVdFEqQOptYWzUMUJT3AppqtlvMxm5kTzPt5kLY2Xl8AITvOW3BCkmaTa4x3dQtu+fNf4jyFONSOuv/x4O0oTLOC3C8E5BmsGJsp+rok2Nbv6yFF3etj9ENH54jO9cpo4xFfDeSuvqi9pP5CsBQHzVt9Vi/3KafK+a1JvauskICI3+CcyKXLDZho2VNFFdRE/mqRcFBXa2wr7tzs7ic1P9nVRisv/PxmHBQeNsnYyiJUUVIh3jFN6M0VZPnRkE20YLwdWs7jqlsL+voipGkqSn1TGYj4wCt7H/+f6Om2mdnmcdrRVZ2kMyW6E0kILHdSiygPbEaaXpKZckQwr+Vku+zMck/OjvvpQRqqc=
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache