# ----------------------------------------------------------------------------
#
# Package             : commons-pool
# Source Repo         : https://github.com/apache/commons-pool
# Travis Job Link     : https://travis-ci.com/github/nagesh4193/commons-pool/builds/217961979
# Created travis.yml  : No
# Maintainer          : Nageswara Rao K<nagesh4193@gmail.com>/Priya Seth<sethp@us.ibm.com>
#
# Script License      : Apache License, Version 2 or later
#
# ----------------------------------------------------------------------------

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: java

arch:
  - amd64
  - ppc64le

cache:
  directories:
    - $HOME/.m2

jdk:
  - openjdk8
  - openjdk11
  - openjdk15
  - openjdk-ea

matrix:
  allow_failures:
    - jdk: openjdk-ea

before_install: 
# Using the below code for power support architecture as Maven version allowed range is 3.5.0. or above
 - |
   if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]]; then
    mkdir -p /opt/maven;
    curl https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz|tar -xz --strip 1 -C /opt/maven;
    export MAVEN_HOME=/opt/maven
    export PATH=${MAVEN_HOME}/bin:${PATH}
   fi

script:
  - mvn -V --no-transfer-progress

after_success:
  - mvn -V --no-transfer-progress clean cobertura:cobertura coveralls:report -Ptravis-cobertura

Add Power Support for Commons Pool
Add Power Support for Commons Pool
