Merge branch 'develop' into introduce-travis-ci
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 13 Mar 2014 10:01:19 +0000 (11:01 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 13 Mar 2014 10:01:19 +0000 (11:01 +0100)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..7cffca0
--- /dev/null
@@ -0,0 +1,22 @@
+language: java
+jdk: oraclejdk7
+before_install:
+  # Install base Android SDK
+    - sudo apt-get update -qq
+    - sudo apt-get install -qq libstdc++6:i386 lib32z1
+    - export COMPONENTS=build-tools-18.1.0,android-16,android-17,android-19,sysimg-16,extra-android-support
+    - curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
+    - source ~/.android-sdk-installer/env
+
+    # Create and start emulator
+    - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
+    - emulator -avd test -no-skin -no-audio -no-window &
+
+before_script:
+  - wait_for_emulator
+
+script:
+  - ./setup_env.sh
+  - ant clean
+  - ant debug
+