language: java
sudo: false

jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7

env:
  global:
    - MAVEN_OPTS="-Djna.library.path=${TRAVIS_BUILD_DIR}/travis -DskipTests=false -DfailIfNoTests=false"

script:
  - cd cdm && mvn test ${MAVEN_OPTS}
  - cd ../udunits && mvn test ${MAVEN_OPTS}
  - cd ../ui && mvn test ${MAVEN_OPTS}
  - cd ../waterml && mvn test ${MAVEN_OPTS}
    #- cd ../dap4/d4tests && mvn test ${MAVEN_OPTS}

cache:
  directories:
    - $HOME/.gradle

language: java
sudo: false

jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7

env:
  global:
    - MAVEN_OPTS="-Djna.library.path=${TRAVIS_BUILD_DIR}/travis -DskipTests=false -DfailIfNoTests=false"

before_install:
  - cp ${TRAVIS_BUILD_DIR}/travis/settings.xml ${HOME}/.m2

install:
  - mvn install -DskipTests=true

script:
  - cd cdm && mvn test ${MAVEN_OPTS}
  - cd ../udunits && mvn test ${MAVEN_OPTS}
  - cd ../ui && mvn test ${MAVEN_OPTS}
  - cd ../waterml && mvn test ${MAVEN_OPTS}
    #- cd ../dap4/d4tests && mvn test ${MAVEN_OPTS}

cache:
  directories:
    - $HOME/.m2

Make 4.6.0 branch use Maven for Travis (for now).
Make 4.6.0 branch use Maven for Travis (for now).
