Daniel Zlotin 8 years ago
parent
commit
1c41a0b39a
1 changed files with 12 additions and 11 deletions
  1. 12
    11
      .travis.yml

+ 12
- 11
.travis.yml View File

20
   - rm -rf "$TMPDIR/react-packager-*" || true
20
   - rm -rf "$TMPDIR/react-packager-*" || true
21
 
21
 
22
 install:
22
 install:
23
-  - npm i -g yarn
24
-  - yarn
23
+  #- npm i -g yarn
24
+  #- yarn
25
   # download android sdk
25
   # download android sdk
26
   - curl --location https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
26
   - curl --location https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
27
   - export ANDROID_HOME=$HOME/android-sdk-linux
27
   - export ANDROID_HOME=$HOME/android-sdk-linux
28
   - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
28
   - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
29
   - ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android
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
 script:
41
 script:
41
   - npm run test
42
   - npm run test