Created
January 5, 2014 17:28
-
-
Save pepicrft/8271125 to your computer and use it in GitHub Desktop.
Android travis.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
matrix: | |
- ANDROID_SDKS=android-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi | |
language: java | |
before_install: | |
- mvn -v | |
# install necessary x32-libs for Android SDK, see http://rkistner.github.io/android/2013/02/05/android-builds-on-travis-ci/ | |
- sudo apt-get update -qq | |
- sudo apt-get install -qq libstdc++6:i386 lib32z1 | |
# download the latest android sdk and unzip | |
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz | |
- tar -zxf android-sdk_r22.3-linux.tgz | |
- export ANDROID_HOME=`pwd`/android-sdk-linux | |
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools | |
# only update the sdk for the tools and platform-tools and required api level | |
# (run "android list sdk --extended" to get the full list) | |
- echo "y" | android update sdk --filter tools,platform-tools,build-tools-19.0.1,android-19 --no-ui --force | |
- android update project -p . --name EditTextMentions --target $ANDROID_TARGET | |
script: ant clean release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment