sudo: false

language: java

jdk:
  - oraclejdk8

before_install:
  - cd caliper
  - MVN_VERSION=3.5.0
  - wget 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.*$/

sudo: false

language: java

jdk:
  - oraclejdk8

before_install:
  - MVN_VERSION=3.5.0
  - wget 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 -am -pl caliper

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

cache:
  directories:
  - $HOME/.m2

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

Fix Caliper Travis build (hopefully).
Fix Caliper Travis build (hopefully).

Don't cd to caliper directory and build, that won't work. Instead use -am -pl caliper.

RELNOTES=n/a

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