aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-19 00:14:35 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2015-03-19 00:14:35 +0100
commit4e8b32b018c5fc5f1c6900a1a5d531009f864140 (patch)
treeb64297b98d5385550d135380a1bee0d7f18a09f3
parenta75048e20136bc5f8531380c114456463ac63fa9 (diff)
parentc272b5bad98c8e89e81952491a4064e541374451 (diff)
Merge pull request #72 from zeapo/travis
Travis builds (no tests yet)
-rw-r--r--.travis.yml28
1 files changed, 12 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index b9ea4b6c..3e3c7483 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,17 @@
language: android
-android:
- components:
- # The BuildTools version used by your project
- - build-tools-21.1.2
- # The SDK version used to compile your project
- - android-21
+android:
+ components:
+ - android-22
+ - build-tools-22.0.0
+ - platform-tools
+ - extra-google-m2repository
+ - extra-android-m2repository
- # Additional components
- - extra-google-m2repository
- - extra-android-m2repository
+ # ok no tests for now
+ # - sys-img-x86-android-22
- # Specify at least one system image,
- # if you need to run emulator(s) during your tests
- - sys-img-x86-android-21
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 &
+ - GRADLE_OPTS="-Xms40m -Xmx3g -XX:MaxPermSize=3g"
+
+script: "./gradlew clean build test -Dpre-dex=false"