Skip to content

Commit

Permalink
Fix Travis build.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Jan 8, 2013
1 parent e62a205 commit 6119f89
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -8,8 +8,11 @@ notifications:
email: false

before_install:
- wget http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz
- tar -zxf android-sdk_r20.0.3-linux.tgz
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- tar -zxf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=~/builds/square/seismic/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- android update sdk --filter 1,3 --no-ui --force
- TOOLS=$(android list sdk --no-ui | grep "Android SDK Platform-tools" | cut -d"-" -f1)
- android update sdk --filter "$TOOLS" --no-ui --force
- SDK=$(android list sdk --no-ui | grep ", API 16," | cut -d"-" -f1)
- android update sdk --filter "$SDK" --no-ui --force

0 comments on commit 6119f89

Please sign in to comment.