Skip to content

Instantly share code, notes, and snippets.

@burntcookie90
Created July 29, 2014 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burntcookie90/a270cab5d37ccbc0adbf to your computer and use it in GitHub Desktop.
Save burntcookie90/a270cab5d37ccbc0adbf to your computer and use it in GitHub Desktop.
language: android
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-L ANDROID_ABI=armeabi-v7a
android:
components:
- build-tools-19.1
before_install:
# Install base Android SDK
- 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_r23-linux.tgz
- tar xzf android-sdk_r23-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --all --filter build-tools-20.0.0 --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-20 --no-ui --force > /dev/null
- echo yes | android update sdk --filter sys-img-x86-android-19 --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-android-m2repository --no-ui --force > /dev/null
before_script:
- cp keystore.properties.example keystore.properties
- cp readability.properties.example readability.properties
- cp local.properties.example local.properties
script: "./gradlew clean assembleTravis"
deploy:
provider: releases
api_key:
secure: MeGKfVwOrIMT5TzI5tBhwfCH7tICedcJe0p5Cp3lyPhY26VlVJQ2HKH3yuv7OF9a6ngVWdBjxPtn2dDlWb3AqpPZDEwgzCJrYjaDlBfhk3JSdepKmhEltbcvFWyPgWGNVGWw3+EmDiDrmscKjF9kc0F06KveRziJb8JC3RBIDIk=
file: ${TRAVIS_BUILD_DIR}/app/build/outputs/apk/app-travis.apk
on:
repo: dinosaurwithakatana/holo_hacker_news
branch: material
tags: true
all_branches: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment