From 7a629c63c00de5c0ea4b813551353e436da0914b Mon Sep 17 00:00:00 2001 From: mareksebera Date: Wed, 2 Jul 2014 18:48:41 +0200 Subject: [PATCH] Updated Travis CI configuration --- .travis.yml | 41 +++++++++++------------------------------ 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/.travis.yml b/.travis.yml index 201b1af90..234deecd1 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,35 +1,16 @@ -language: - - java -jdk: - - openjdk7 -before_install: - # environment info - - mvn -version - - gradle -v - - uname -a - # required libs for android build tools - - if [ `uname -m` = x86_64 ]; then sudo apt-get update; fi - - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi +language: android +jdk: openjdk7 +android: + components: + - build-tools-19.1.0 + - extra-android-support + - extra-android-m2repository + - android-19 + licenses: + - '*' +script: # for gradle output style - export TERM=dumb - # newer version of gradle - - wget http://services.gradle.org/distributions/gradle-1.12-bin.zip - - unzip -qq gradle-1.12-bin.zip - - export GRADLE_HOME=$PWD/gradle-1.12 - - export PATH=$GRADLE_HOME/bin:$PATH - # just to test gradle version, against our provided one - - gradle -v - # newest android SDK 22.6.2 - - wget http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz - - tar -zxf android-sdk_r22.6.2-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 - # list packages for debug purpose - - android list sdk -a -e -u - - echo yes | android update sdk -t 1,2,3,tools,platform-tools,extra-android-support,extra-android-m2repository,android-19,build-tools-19.1.0 --force --no-ui # Sonatype bypass - echo "nexusUsername=dummy" >> library/gradle.properties - echo "nexusPassword=dummy" >> library/gradle.properties -