1*ba8755cbSAndroid Build Coastguard Worker# Licensed to the Apache Software Foundation (ASF) under one or more 2*ba8755cbSAndroid Build Coastguard Worker# contributor license agreements. See the NOTICE file distributed with 3*ba8755cbSAndroid Build Coastguard Worker# this work for additional information regarding copyright ownership. 4*ba8755cbSAndroid Build Coastguard Worker# The ASF licenses this file to You under the Apache License, Version 2.0 5*ba8755cbSAndroid Build Coastguard Worker# (the "License"); you may not use this file except in compliance with 6*ba8755cbSAndroid Build Coastguard Worker# the License. You may obtain a copy of the License at 7*ba8755cbSAndroid Build Coastguard Worker# 8*ba8755cbSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0 9*ba8755cbSAndroid Build Coastguard Worker# 10*ba8755cbSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software 11*ba8755cbSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, 12*ba8755cbSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*ba8755cbSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and 14*ba8755cbSAndroid Build Coastguard Worker# limitations under the License. 15*ba8755cbSAndroid Build Coastguard Worker 16*ba8755cbSAndroid Build Coastguard Workersudo: false 17*ba8755cbSAndroid Build Coastguard Workerlanguage: java 18*ba8755cbSAndroid Build Coastguard Worker 19*ba8755cbSAndroid Build Coastguard Workerjdk: 20*ba8755cbSAndroid Build Coastguard Worker - openjdk7 21*ba8755cbSAndroid Build Coastguard Worker - openjdk8 22*ba8755cbSAndroid Build Coastguard Worker - oraclejdk8 23*ba8755cbSAndroid Build Coastguard Worker - oraclejdk9 24*ba8755cbSAndroid Build Coastguard Worker - oraclejdk10 25*ba8755cbSAndroid Build Coastguard Worker 26*ba8755cbSAndroid Build Coastguard Workercache: 27*ba8755cbSAndroid Build Coastguard Worker directories: 28*ba8755cbSAndroid Build Coastguard Worker - $HOME/.m2 29*ba8755cbSAndroid Build Coastguard Worker - .mvn 30*ba8755cbSAndroid Build Coastguard Worker# don't run mvn install before building 31*ba8755cbSAndroid Build Coastguard Workerinstall: true 32*ba8755cbSAndroid Build Coastguard Worker 33*ba8755cbSAndroid Build Coastguard Worker# do all the building and testing in a single phase, instead of compiling everything three times 34*ba8755cbSAndroid Build Coastguard Worker# and running all tests twice. 35*ba8755cbSAndroid Build Coastguard Worker 36*ba8755cbSAndroid Build Coastguard Workerscript: 37*ba8755cbSAndroid Build Coastguard Worker - ./mvnw clean apache-rat:check test jacoco:report coveralls:report -Ptravis-jacoco 38