Browse Source

Merge pull request #351 from owncloud/introduce-travis-ci

Starting off with travis-ci integration based on https://github.com/emba...
David A. Velasco 11 years ago
parent
commit
7d29132af1
1 changed files with 16 additions and 0 deletions
  1. 16 0
      .travis.yml

+ 16 - 0
.travis.yml

@@ -0,0 +1,16 @@
+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-14,android-17,android-19,sysimg-19,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
+    - rm pom.xml
+    - ./setup_env.sh
+
+script:
+  - ant clean
+  - ant debug
+