Permalink
Browse files

Fix Travis CI configuration

  • Loading branch information...
kevinsawicki committed Jun 16, 2013
1 parent a4b80a4 commit 372528e3a689fa38f582330e69f7a31c62b2aa9c
Showing with 8 additions and 5 deletions.
  1. +8 −5 .travis.yml
View
@@ -1,11 +1,14 @@
language: java
+jdk: oraclejdk7
notifications:
email: false
before_install:
- - wget http://dl.google.com/android/android-sdk_r21-linux.tgz
- - tar -zxf android-sdk_r21-linux.tgz
- - export ANDROID_HOME=~/builds/github/gauges-android/android-sdk-linux
- - export PATH=${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${PATH}
- - android update sdk --filter 1,4 --no-ui --force
+ - sudo apt-get update -qq
+ - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
+ - wget http://dl.google.com/android/android-sdk_r21.1-linux.tgz
+ - tar -zxf android-sdk_r21.1-linux.tgz
+ - export ANDROID_HOME=$PWD/android-sdk-linux
+ - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
+ - android update sdk --filter platform-tools,android-16 --no-ui --force > /dev/null

0 comments on commit 372528e

Please sign in to comment.