sudo: required

services:
  - docker

language: java

jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8

maven:
  - 3.1.1

script:
  - ./scripts/travis-deploy.sh

sudo: required

services:
  - docker

language: java

jdk:
  - openjdk6
  - oraclejdk7
  - oraclejdk8

script:
  - ./scripts/travis-deploy.sh

before_install:
  - wget https://archive.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.zip
  - unzip -qq apache-maven-3.1.1-bin.zip
  - export M2_HOME=$PWD/apache-maven-3.1.1
  - export PATH=$M2_HOME/bin:$PATH

Use mvn 3.1.1 for JDK6
Use mvn 3.1.1 for JDK6
