language: java
jdk:
  - openjdk7
  - oraclejdk8

cache:
  directories:
  - $HOME/.m2

# Skip the "installation" step:
# https://docs.travis-ci.com/user/customizing-the-build#Skipping-the-Installation-Step
install: true

script:
  # Builds the compiler and runs tests
  - mvn install --batch-mode
  # Checks for JavaDoc errors
  - mvn javadoc:javadoc

# Causes the build to run on a VM instead of in a container, to avoid OOM errors.
sudo: required

notifications:
  email: false

language: java
jdk:
  - openjdk7
  - oraclejdk8

cache:
  directories:
  - $HOME/.m2

# Skip the "installation" step:
# https://docs.travis-ci.com/user/customizing-the-build#Skipping-the-Installation-Step
install: true

script:
  # Builds the compiler and runs tests
  - mvn install --batch-mode
  # Checks for JavaDoc errors
  - mvn javadoc:javadoc

# Causes the build to run on a VM instead of in a container, to avoid OOM errors.
sudo: required

after_success:
  - travis_util/deploy_snapshot.sh

env:
  global:
    # CI_DEPLOY_USERNAME
    - secure: "gJFof2oINvYcEIMEW7pZt4SmnGtDj8Wt3uvDRCLgvyZb2OHL80q3BkMA7KeXlt5kgjqPB3xL+B+ikUYLgHVM870dYUn4GLakTSenlM9lsCTkHTFfFLlQuPDaOR7ELSrFpB0tdGuAB0yILABRF8JpR8MOcK2ZNIvC5DLl84X0jKM="
    # CI_DEPLOY_PASSWORD
    - secure: "uzTxScdaeX0qD+jqJH/npYOGhlpSr34H2eah5ylkSRw0lLl0jyPnSpV9ZCivgb8AKiCmnxCy5ioe4fUO26P2erSIppO5b0VzQ+IztBIOAblkV2c1DZb2/wKa6VbHrNjmc9wvyfvPLFECtnh0JW3X+nXy6Ux9PdEhWCjBnljSRjI="

notifications:
  email: false

Arrange for Travis to automatically push snapshots to maven.
Arrange for Travis to automatically push snapshots to maven.

Fixes https://github.com/google/closure-compiler/issues/1689

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