aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: daeae36344cdadaf6c78886374bf93a5c1ece969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: android
jdk: openjdk7
android:
    components:
        - build-tools-22.0.1
        - build-tools-21.1.2
        - build-tools-21.1.1
        - build-tools-19.1.0
        - android-22
        - android-21
        - android-19
        - platform-tools
        - extra-android-support
        - extra-android-m2repository
    licenses:
        - 'android-sdk-preview-license-52d11cd2'
        - 'android-sdk-license-.+'
        - 'google-gdk-license-.+'
# 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 &
script:
    - ./gradlew
    - ./gradlew testDebug
    - ./gradlew jacocoTestReport coveralls

# don't run instrumentation tests for now
# - android-wait-for-emulator && adb shell input keyevent 82 &
# - ./gradlew connectedAndroidTest