-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
31 lines (26 loc) · 974 Bytes
/
.travis.yml
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
30
31
language: java
jdk: oraclejdk7
branches:
only:
- master
before_install:
# Install base Android SDK and components
- sudo apt-get update -qq
- sudo apt-get install -qq libstdc++6:i386 lib32z1 expect
- export COMPONENTS=build-tools-19.0.3,android-19,extra-android-support,extra-android-m2repository,extra-google-m2repository
- export LICENSES=android-sdk-license-bcbbd656
- curl -3L https://raw.github.com/embarkmobile/android-sdk-installer/version-2/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS --accept=$LICENSES
- source ~/.android-sdk-installer/env
install:
# Without TERM=dumb, we get mangled output in the Travis console
- TERM=dumb ./gradlew clean assemble
script:
- TERM=dumb ./gradlew check
env:
global:
- TERM=dumb
notifications:
email: false
#from http://blog.ansuz.nl/index.php/2014/06/01/robolectric-and-cobertura-with-gradle/
after_success:
- ./gradlew clean cobertura coveralls -d