Sha256: 210b93173100cb2aaa22bb1945c3d305bbc903786d4573c0346bb29a5f5999ae

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

language: java
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; fi
    - wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
    - tar xzf android-sdk_r21.0.1-linux.tgz
    - export ANDROID_HOME=$PWD/android-sdk-linux
    - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools

    # This is a bit of a hack to get the android-15 arm abi installed
    - wget http://dl.google.com/android/repository/sysimg_armv7a-15_r02.zip
    - mkdir -p ${ANDROID_HOME}/system-images/android-15
    - unzip sysimg_armv7a-15_r02.zip -d ${ANDROID_HOME}/system-images/android-15

    # Update SDK
    - android update sdk -u -f --filter 1,2    
    - android update sdk -u -f --filter android-15

    # Create an emulator for testing against
    - echo no | android create avd -n Android_4.0.3 -t 1 --force
    - echo "hw.ramSize=2048" >> ~/.android/avd/Android_4.0.3.i

    # Need to figure out how to get the emulator to start up properly
    - emulator -avd Android_4.0.3 -port 5554 -no-window -no-audio -no-boot-anim &
    - sh wait_for_emulator.sh

language: ruby
rvm:
  - 1.9.3

after_script:
  - bundle exec rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ADB-0.5.6 .travis.yml