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,6 +21,8 @@ install:
21 21
   #- npm i -g yarn
22 22
   #- yarn
23 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 27
 script:
26 28
   #- npm run test

+ 0
- 1
scripts/installAndroidSDK.sh View File

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