forked from abarisain/dmix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (28 loc) · 935 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
32
33
34
35
language: android
jdk: java
sudo: false
## The old JDK used on Travis is broken for our project, this is a workaround until it's fixed.
## See https://github.com/travis-ci/travis-ci/issues/3259
addons:
apt:
packages:
- oracle-java8-installer
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-23.0.3
- android-23
# Additional components
- extra-android-m2repository
- extra-android-support
before_script:
## We need to be able to test the compile.
sed -ie 's%Get_your_own_key_ugh%0%g' MPDroid/src/crashlytics/AndroidManifest.xml
# This project doesn't support checkConnected, which is
# the default script label for the Android plugin.
script:
## Build /everything/ but MPDroid Javadoc (Android Support Libraries break the TravisCI build).
## It's not fast, but it's thorough.
./gradlew build JMPDCommAndroid:debugJavadoc JMPDCommJava:javadoc