sudo: false

language: java

jdk:
  - oraclejdk8

before_install: cd caliper

install: mvn -B install -U -DskipTests=true

script: mvn -B verify -U -Dmaven.javadoc.skip=true

cache:
  directories:
  - $HOME/.m2

branches:
  only:
    - master
    - /^release.*$/

sudo: false

language: java

jdk:
  - oraclejdk8

before_install:
  - cd caliper
  - MVN_VERSION=3.5.0
  - get https://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries/apache-maven-${MVN_VERSION}-bin.zip
  - unzip -qq apache-maven-${MVN_VERSION}-bin.zip
  - export M2_HOME=$PWD/apache-maven-${MVN_VERSION}
  - export PATH=$M2_HOME/bin:$PATH

install: mvn -B install -U -DskipTests=true

script: mvn -B verify -U -Dmaven.javadoc.skip=true

cache:
  directories:
  - $HOME/.m2

branches:
  only:
    - master
    - /^release.*$/

Use Maven 3.5.0 for building in Travis
Use Maven 3.5.0 for building in Travis

It seems the version of maven they use is out of date and may be causing the build failures

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178926190
