language: java
sudo: false
cache:
  directories:
    - '$HOME/.m2/repository'
script:
  - mvn -P ${JPAPROVIDER} install
#after_success:
#  - "bash ./.travis-deploy.sh"
matrix:
  fast_finish: true
  include:
    - env: JPAPROVIDER=hibernate
      jdk: openjdk7
    - env: JPAPROVIDER=hibernate-4.3
      jdk: openjdk7
    - env: JPAPROVIDER=hibernate-5.0
      jdk: openjdk7
    - env: JPAPROVIDER=eclipselink
      jdk: openjdk7
    - env: JPAPROVIDER=openjpa
      jdk: openjdk7
    - env: JPAPROVIDER=datanucleus
      jdk: openjdk7
  allow_failures:
    - env: JPAPROVIDER=hibernate-5.0
      jdk: openjdk7
    - env: JPAPROVIDER=eclipselink
      jdk: openjdk7
    - env: JPAPROVIDER=openjpa
      jdk: openjdk7
    - env: JPAPROVIDER=datanucleus
      jdk: openjdk7
language: java
sudo: false
cache:
  directories:
    - '$HOME/.m2/repository'
script:
  - mvn -P ${JPAPROVIDER} install
#after_success:
#  - "bash ./.travis-deploy.sh"
matrix:
  fast_finish: true
  include:
    - env: JPAPROVIDER=hibernate
      jdk: openjdk7
    - env: JPAPROVIDER=hibernate-4.3
      jdk: openjdk7
    - env: JPAPROVIDER=hibernate-5.0
      jdk: openjdk8
    - env: JPAPROVIDER=eclipselink
      jdk: openjdk7
    - env: JPAPROVIDER=openjpa
      jdk: openjdk7
    - env: JPAPROVIDER=datanucleus
      jdk: openjdk7
  allow_failures:
    - env: JPAPROVIDER=hibernate-5.0
      jdk: openjdk8
    - env: JPAPROVIDER=eclipselink
      jdk: openjdk7
    - env: JPAPROVIDER=openjpa
      jdk: openjdk7
    - env: JPAPROVIDER=datanucleus
      jdk: openjdk7
Switch to JDK8 for hibernate 5
Switch to JDK8 for hibernate 5
