language: java

jdk:
  - oraclejdk7
  - oraclejdk8

sudo: false

cache:
  directories:
    - '$HOME/.m2/repository'

before_install:
    - cp src/build/travis-toolchains.xml ~/.m2/toolchains.xml

install: mvn -DskipTests=true -Dbasepom.check.skip-all=true -B install
script: mvn -B verify

before_script:
  - "psql -c 'create database jdbi_test;' -U postgres"

language: java

jdk:
  - oraclejdk7

sudo: false

cache:
  directories:
    - '$HOME/.m2/repository'

before_install:
    - cp src/build/travis-toolchains.xml ~/.m2/toolchains.xml

install: mvn -DskipTests=true -Dbasepom.check.skip-all=true -B install
script: mvn -B verify

before_script:
  - "psql -c 'create database jdbi_test;' -U postgres"

Remove jdbi v2 openjdk8 build
Remove jdbi v2 openjdk8 build

Now that we use toolchains to select a jdk6, there's
little reason to select jdk8.  Whether we choose 7 or 8
we then immediately switch to 6, so it's just redundant work.
