Skip to content

Instantly share code, notes, and snippets.

@Pygmalion69
Created January 18, 2018 13:06
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 Pygmalion69/917e0669f0c50daa4b2598214bd9f843 to your computer and use it in GitHub Desktop.
Save Pygmalion69/917e0669f0c50daa4b2598214bd9f843 to your computer and use it in GitHub Desktop.
.travis.yml by BanzaiMan
language: android
jdk: oraclejdk8
#sudo: false
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- tools
- platform-tools
- tools
# The BuildTools version used by your project
- build-tools-26.0.1
# The SDK version used to compile your project
- android-26
# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
# - addon-google_apis-google-19
# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-17
#before_script:
# - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
# - emulator -avd test -no-skin -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
install: skip
# env:
# global:
# - CACHE_DIR=$([ $TRAVIS_OS_NAME = 'linux' ] && echo "FOO" || echo "BAR")
# cache:
# directories:
# - $CACHE_DIR
# env:
# global:
# - PATH=/usr/local/android-sdk/tools/bin:$PATH
script: skip
# android:
# components:
# - tools
# - platform-tools
# - tools
# - android-25
# - build-tools-25.0.2
# - extra
# - extra-google-m2repository
# - extra-android-m2repository
# - extra-android-support
# jdk: oraclejdk8
matrix:
include:
- sudo: false
dist: precise
env: DIST=precise STACK=EC2
# - sudo: required
# dist: precise
# env: DIST=precise STACK=GCE
# - sudo: false
# dist: trusty
# env: DIST=trusty STACK=EC2
# - sudo: required
# dist: trusty
# env: DIST=trusty STACK=GCE
# - sudo: false
# dist: trusty
# group: edge
# env: DIST=trusty STACK=EC2 GROUP=edge
# - sudo: required
# dist: trusty
# group: edge
# env: DIST=trusty STACK=GCE GROUP=edge
# - os: osx
notifications:
email: false
# slack:
# rooms:
# - secure: "KZTfjxhkOdDDZYD2ThBILt2ShYtdEee3PudFZlQBfpxG9N470GfxnKVfOl7Odu4lN6cIupwC4S4BnehubEywSR99l60VmfhePUCTqDLYy+iR9+guTvaECdXdaau3jTKhFdu5u60ITsiw5Yb+hwAaGFO0HmQhqR9XVr/U8IGQlok="
# template:
# - "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository}@%{branch} by %{author} %{result} in %{duration} (elapsed time: %{elapsed_time}) subject: %{commit_subject} message: %{commit_message} foobar"
# on_success: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment