Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix Travis build. #19

Merged
merged 1 commit into from

2 participants

@JakeWharton
Owner

No description provided.

@holmes holmes merged commit e5aa505 into master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 8, 2013
  1. @JakeWharton

    Fix Travis build.

    JakeWharton authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 3 deletions.
  1. +6 −3 .travis.yml
View
9 .travis.yml
@@ -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/tape/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
Something went wrong with that request. Please try again.