cache:
  paths:
    - /root/.m2/repository/

services:
  - mongo:3.2

test:jdk-8:
  image: maven:3-jdk-8
  script: export MARK_MONGO_HOST="mongo" && mvn clean package -Dgpg.skip=true

test:jdk-7:
  image: maven:3-jdk-7
  script: export MARK_MONGO_HOST="mongo" && mvn clean package -Dgpg.skip=true

cache:
  paths:
    - /root/.m2/repository/



test:jdk-8:mongo-3.2:
  image: maven:3-jdk-8
  services:
    - mongo:3.2
  script: export MARK_MONGO_HOST="mongo" && mvn clean package -Dgpg.skip=true

test:jdk-7:mongo-3.2:
  image: maven:3-jdk-7
  services:
    - mongo:3.2
  script: export MARK_MONGO_HOST="mongo" && mvn clean package -Dgpg.skip=true
  
test:jdk-8:mongo-3.6:
  image: maven:3-jdk-8
  services:
    - mongo:3.6
  script: export MARK_MONGO_HOST="mongo" && mvn clean package -Dgpg.skip=true

Add GitLab test with mongo 3.6
Add GitLab test with mongo 3.6
