language: java
dist: trusty
before_script: cd api/
script: mvn test -Ptest -DmessageBirdAccessKey=test_iQpAp0KCs5GCsMpDhIx2leuNB -DmessageBirdMSISDN=31612345678
jdk:
  - oraclejdk7
  - oraclejdk8
  - oraclejdk9
  - openjdk7
  - openjdk8
matrix:
  include:
    - jdk: oraclejdk7
      dist: precise

language: java
dist: trusty
before_script: cd api/
script: mvn test -Ptest -DmessageBirdAccessKey=test_iQpAp0KCs5GCsMpDhIx2leuNB -DmessageBirdMSISDN=31612345678
jdk:
  - oraclejdk8
  - oraclejdk9
  - openjdk7
  - openjdk8
matrix:
  include:
    - jdk: oraclejdk7
      dist: precise

Remove oraclejdk7 from regular build: include matrix only
Remove oraclejdk7 from regular build: include matrix only
