language: java

jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7


env:
  - TARGET=runUnitTests
  - TARGET=runAutoReplayIT
  - TARGET=buildDedicatedServer
  - TARGET=buildSwing
  - TARGET=runAiDifficultiesIT
  - TARGET=runReplayValidationIT

script: ANT_OPTS="-Xmx2048m" ant -buildfile ./build.ant $TARGET

language: java

jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7


env:
  - TARGET=runUnitTests
  - TARGET=runAutoReplayIT
  - TARGET=buildDedicatedServer
  - TARGET=buildSwing
  - TARGET=runAiDifficultiesIT
  - TARGET=runReplayValidationIT

script: ANT_OPTS="-Xmx2048m" ant -buildfile ./build.ant $TARGET


matrix:
  exclude:
    - jdk: oraclejdk7
      env: TARGET=buildSwing
    - jdk: openjdk7
      env: TARGET=buildSwing

Exclude buildSwing from java 7 builds.
Exclude buildSwing from java 7 builds.
