|
@@ -15,6 +15,7 @@ cache:
|
15
|
15
|
- $HOME/.gradle/caches/
|
16
|
16
|
- $HOME/.gradle/wrapper/
|
17
|
17
|
- $HOME/.m2
|
|
18
|
+ - $ANDROID_HOME/licenses
|
18
|
19
|
|
19
|
20
|
before_cache:
|
20
|
21
|
- rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
@@ -22,12 +23,14 @@ before_cache:
|
22
|
23
|
|
23
|
24
|
before_install:
|
24
|
25
|
- set -e
|
|
26
|
+ - export ANDROID_HOME=$HOME/android-sdk-linux
|
|
27
|
+ - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
25
|
28
|
- ./scripts/clean.sh
|
26
|
29
|
|
27
|
30
|
script:
|
28
|
31
|
- yarn run lint
|
29
|
32
|
- yarn run test:js
|
30
|
|
- - source ./scripts/installAndroidSDK.sh
|
|
33
|
+ - ./scripts/installAndroidSDK.sh
|
31
|
34
|
- yarn run test:android
|
32
|
35
|
|
33
|
36
|
after_script:
|