language: java
jdk:
  - oraclejdk8
cache:
  directories:
    - $HOME/.m2
before_install:
  - pushd mmd-schema/brainz-mmd2-jaxb
  - mvn -DskipTests install
  - popd

language: java
jdk:
  - oraclejdk8
cache:
  directories:
    - $HOME/.m2
before_install:
  - echo "MAVEN_OPTS='-Xmx1536m'" > ~/.mavenrc
  - pushd mmd-schema/brainz-mmd2-jaxb
  - mvn -DskipTests install
  - popd

Increase the memory available to maven
Increase the memory available to maven

See
https://github.com/travis-ci/travis-ci/issues/4613#issuecomment-142655028,
http://stackoverflow.com/questions/29201549/travis-ci-ignoring-maven-opts
and others - builds on travis sometimes get stuck or fail with obscure
GC overhead limit exceeded messages, so give maven more memory to make
it happy.
