forked from androidannotations/androidannotations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (23 loc) · 765 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
sudo: false
cache:
directories:
- $HOME/.gradle
- $HOME/.m2
language: android
jdk:
- oraclejdk8
- oraclejdk7
android:
components:
- android-14
- build-tools-21.1.1
licenses:
- android-sdk-license-5be876d5
before_script:
- export TERM=dumb
script:
- mvn -f AndroidAnnotations/pom.xml install -P travis
- mvn -f examples/maveneclipse/pom.xml install -Dandroidannotations.version=3.3-SNAPSHOT
- ./examples/gradle/gradlew build --build-file examples/gradle/build.gradle
after_success:
- if [[ $TRAVIS_BRANCH == 'develop' && $TRAVIS_PULL_REQUEST == 'false' && $JAVA_HOME == '/usr/lib/jvm/java-7-oracle' ]]; then mvn -f AndroidAnnotations/pom.xml -pl androidannotations-bundle -am -DskipTests -Dquiet -s settings.xml deploy ; fi