jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7

install: mvn install -DskipTests=true
script: mvn test

matrix:
  allow_failures:
    - jdk: oraclejdk8

cache:
  directories:
    - $HOME/.m2

jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7

install: mvn install -DskipTests=true

script:
    - cd udunits && mvn test -DskipTests=false -DfailIfNoTests=false -DtestFailureIgnore=true
    - cd ../waterml && mvn test -DskipTests=false -DfailIfNoTests=false -DtestFailureIgnore=true

matrix:
  allow_failures:
    - jdk: oraclejdk8

cache:
  directories:
    - $HOME/.m2

Make Travis actually run tests.
Make Travis actually run tests.

mvn test by itself does not actually run any tests.
