Daniel Zlotin 8 years ago
parent
commit
a2e9e5368e
2 changed files with 2 additions and 1 deletions
  1. 2
    0
      .travis.yml
  2. 0
    1
      scripts/installAndroidSDK.sh

+ 2
- 0
.travis.yml View File

21
   #- npm i -g yarn
21
   #- npm i -g yarn
22
   #- yarn
22
   #- yarn
23
   - ./scripts/installAndroidSDK.sh
23
   - ./scripts/installAndroidSDK.sh
24
+  - export ANDROID_HOME=$HOME/android-sdk-linux
25
+  - export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
24
 
26
 
25
 script:
27
 script:
26
   #- npm run test
28
   #- npm run test

+ 0
- 1
scripts/installAndroidSDK.sh View File

3
 curl --location http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
3
 curl --location http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | tar -x -z -C $HOME
4
 
4
 
5
 export ANDROID_HOME=$HOME/android-sdk-linux
5
 export ANDROID_HOME=$HOME/android-sdk-linux
6
-
7
 export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
6
 export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
8
 
7
 
9
 ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui -a \
8
 ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui -a \