|
@@ -20,22 +20,23 @@ before_install:
|
20
|
20
|
- rm -rf "$TMPDIR/react-packager-*" || true
|
21
|
21
|
|
22
|
22
|
install:
|
23
|
|
- - npm i -g yarn
|
24
|
|
- - yarn
|
|
23
|
+ #- npm i -g yarn
|
|
24
|
+ #- yarn
|
25
|
25
|
# download android sdk
|
26
|
26
|
- curl --location https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
|
27
|
27
|
- export ANDROID_HOME=$HOME/android-sdk-linux
|
28
|
28
|
- export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
29
|
29
|
- ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android
|
30
|
|
- update sdk --no-ui -a --filter
|
31
|
|
- tools,
|
32
|
|
- platform-tools,
|
33
|
|
- build-tools-25.0.0,
|
34
|
|
- android-23,
|
35
|
|
- addon-google_apis-google-24,
|
36
|
|
- extra-android-m2repository,
|
37
|
|
- extra-google-google_play_services,
|
38
|
|
- extra-google-m2repository
|
|
30
|
+ update sdk --no-ui -a
|
|
31
|
+ --filter
|
|
32
|
+tools,
|
|
33
|
+platform-tools,
|
|
34
|
+build-tools-25.0.0,
|
|
35
|
+android-23,
|
|
36
|
+addon-google_apis-google-24,
|
|
37
|
+extra-android-m2repository,
|
|
38
|
+extra-google-google_play_services,
|
|
39
|
+extra-google-m2repository
|
39
|
40
|
|
40
|
41
|
script:
|
41
|
42
|
- npm run test
|