blob: 29f9ff33f05af9d53a39dd045910bd08fc58e5bf [file] [log] [blame]
Jake Wharton9f121ee2014-09-16 23:06:12 -07001language: android
Jake Whartond45582b2013-05-02 11:41:46 -07002
Christian Edward Gruber5a15b9e2013-06-12 11:40:34 -07003jdk:
ronshapiro898bc222016-11-09 08:25:26 -08004 - &jdk_for_publishing oraclejdk8
Christian Edward Gruber5a15b9e2013-06-12 11:40:34 -07005
Jake Wharton9f121ee2014-09-16 23:06:12 -07006android:
7 components:
cgruber91f7d8b2015-11-12 12:54:18 -08008 - build-tools-23.0.0
9 - android-23
Jake Wharton9f121ee2014-09-16 23:06:12 -070010 licenses:
11 - android-sdk-license-5be876d5
Christian Edward Gruber5a15b9e2013-06-12 11:40:34 -070012
Nguyen Truong Thoc25c7412015-03-27 04:09:29 +070013before_install:
14 - sudo rm -f /etc/mavenrc
15 - wget http://www.us.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
16 - tar -zxvf apache-maven-3.1.1-bin.tar.gz
17 - export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=192m"
18 - export M2_HOME=$PWD/apache-maven-3.1.1
19 - export PATH=$M2_HOME/bin:$PATH
20 - mvn --version
21
cgruber2da94812016-01-10 15:25:11 -080022install: mvn -B -P!standard-with-extra-repos -U install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true
Christian Edward Gruber5a15b9e2013-06-12 11:40:34 -070023
cgruber2da94812016-01-10 15:25:11 -080024script: mvn -B -P!standard-with-extra-repos -U verify --fail-at-end -Dsource.skip=true -Dmaven.javadoc.skip=true
Jake Wharton3d46feb2012-11-07 13:01:00 -080025
Christian Edward Gruberb767f8a2014-10-07 09:55:00 -070026env:
27 global:
Christian Edward Gruber113c9a92014-10-10 13:10:48 -070028 - secure: eGc3LHBRIPmTnXLM1YoIqG1do9BkpFI2pJm3fz5Cd8UaXtf7Oefa+Ts3rcn4ipee5A+lf8kEouPshSoaQs81KZ2/qf8rSTCIqeFjHR8hzmOVYo/0zRfS/VSUT0yqN+jeRhuNk3+A49RTPlcfJqPv3tyddtrM1vF7axhCJPQIRJM=
29 - secure: LTzrlqcSNeZTOV52D3ibY9RBdxY4Yu8dUOYhAonrWLE+eDTzuoyCzcPw8pEcYVNUi1rG6Q7v3QBDTnBztsPoCbcN5tEGjw5cQEbfEzSTkWaNCFjncWn36cLwx9lgbF+5Db/L0mYJ36unDKUpKVC8AgOtxQibfv/ffugfxxj8ohY=
Christian Edward Gruberb767f8a2014-10-07 09:55:00 -070030 - secure: PEdRiHTy+xVFPnlBwOhr7RVW/QIFSgd4hO0LESRBeF7KGIjxTZWtKPjnYrysZFm6tozMk6WBVJO6avOss0v7L64nemwpCnSspNYBa6pRGPgQ3rv/wgdPSzqDDmABmpPC18EHbUtF94KVdRX3Cr4kmwKQyD+YUKNRCY11Txt+xfo=
ronshapiro898bc222016-11-09 08:25:26 -080031 - JDK_FOR_PUBLISHING: *jdk_for_publishing
Christian Edward Gruberb767f8a2014-10-07 09:55:00 -070032
33after_success:
34 - util/generate-latest-docs.sh
35 - util/publish-snapshot-on-commit.sh
36
Jake Wharton3d46feb2012-11-07 13:01:00 -080037branches:
cgruberb2bcc802016-03-03 11:46:56 -080038 only:
39 - master
40 - /^release.*$/