language: java
sudo: false

jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8

env:
  - MAVEN=3.0.4
  - MAVEN=3.0.5
  - MAVEN=3.1.0
  - MAVEN=3.1.1
  - MAVEN=3.2.1
  - MAVEN=3.2.2
  - MAVEN=3.2.3
  - MAVEN=3.2.5
  - MAVEN=3.3.1
  - MAVEN=3.3.3
  - MAVEN=3.3.9

matrix:
  exclude:
  - jdk: openjdk6
    env: MAVEN=3.3.1
  - jdk: openjdk6
    env: MAVEN=3.3.3
  - jdk: openjdk6
    env: MAVEN=3.3.9

cache:
    directories:
    - $HOME/.m2

install:
  - mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN}
  - ./mvnw --show-version --errors --batch-mode validate dependency:go-offline

before_script:
  - export MAVEN_SKIP_RC=true

script: ./mvnw --show-version clean verify

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: java
sudo: false

jdk:
  - openjdk6
  - openjdk7
  - oraclejdk7
  - oraclejdk8

env:
  - MAVEN=3.0.4
  - MAVEN=3.0.5
  - MAVEN=3.1.0
  - MAVEN=3.1.1
  - MAVEN=3.2.1
  - MAVEN=3.2.2
  - MAVEN=3.2.3
  - MAVEN=3.2.5
  - MAVEN=3.3.1
  - MAVEN=3.3.3
  - MAVEN=3.3.9

matrix:
  exclude:
  - jdk: openjdk6
    env: MAVEN=3.3.1
  - jdk: openjdk6
    env: MAVEN=3.3.3
  - jdk: openjdk6
    env: MAVEN=3.3.9

cache:
    directories:
    - $HOME/.m2

before_install:
  - export M2_HOME=/tmp/maven-${MAVEN}
  - mkdir $M2_HOME
  - wget -qO- https://archive.apache.org/dist/maven/maven-3/${MAVEN}/binaries/apache-maven-${MAVEN}-bin.tar.gz | tar xz --strip 1 -C $M2_HOME
  - export PATH=$M2_HOME/bin:$PATH

install: true

before_script:
  - export MAVEN_SKIP_RC=true

script: $M2_HOME/bin/mvn --show-version clean verify

after_success:
  - bash <(curl -s https://codecov.io/bash)

Revert Takari wrapper, it is not compiled against Java 6...
CI: Revert Takari wrapper, it is not compiled against Java 6...

Signed-off-by: Julien Nicoulaud <d0b57601c71797f3207429d334984056ff4aa940@gmail.com>
