Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
federicoiosue committed Feb 3, 2015
1 parent 1fec51d commit 74aa4c8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jdk: oraclejdk7

env:
global:
- ANDROID_SDK_VERSION="r23"
- ANDROID_SDK_VERSION="r24"

notifications:
email: false
Expand Down Expand Up @@ -40,25 +40,25 @@ before_install:
- ./gradlew -v

# newest android SDK
- wget http://dl.google.com/android/android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
- tar -zxf android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
- export ANDROID_HOME=`pwd`/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
#- wget http://dl.google.com/android/android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
#- tar -zxf android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
#- export ANDROID_HOME=`pwd`/android-sdk-linux
#- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools

# manually set sdk.dir variable, according to local paths
- echo "sdk.dir=$ANDROID_HOME" > local.properties
#- echo "sdk.dir=$ANDROID_HOME" > local.properties

# Install required components.
# For a full list, run `android list sdk -a --extended`
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-21.0.0 --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-21 --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-google-m2repository --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
#- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
#- echo yes | android update sdk --all --filter build-tools-21.0.0 --no-ui --force > /dev/null
#- echo yes | android update sdk --filter android-21 --no-ui --force > /dev/null
#- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
#- echo yes | android update sdk --filter extra-google-m2repository --no-ui --force > /dev/null
#- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null

# Otherwise
#- echo yes | android update sdk -t tools,platform-tools,extra-android-support,extra-android-m2repository,android-21 --force --no-ui
- echo yes | android update sdk -t tools,platform-tools,extra-android-support,extra-android-m2repository,extra-google-m2repository,android-21 --force --no-ui


# Let's try to build...
Expand Down

0 comments on commit 74aa4c8

Please sign in to comment.