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