machine:
  services:
    - docker

dependencies:
  override:
    - docker version
    - docker info
    - docker build -t="blacklabelops/swarm-jdk8" -f ./java-jdk-8-oracle/Dockerfile java-jdk-8-oracle/
    - docker build -t="blacklabelops/swarm-jdk7" -f ./java-jdk-7-oracle/Dockerfile java-jdk-7-oracle/
    - docker build -t="blacklabelops/swarm-jdk6" -f ./java-jdk-6-oracle/Dockerfile java-jdk-6-oracle/

test:
  override:
    - docker run blacklabelops/java-7-jdk java -version
    - docker run blacklabelops/java-7-jdk gradle -v
    - docker run blacklabelops/java-7-jdk mvn -version
    - docker run blacklabelops/java-8-jdk java -version
    - docker run blacklabelops/java-8-jdk gradle -v
    - docker run blacklabelops/java-8-jdk mvn -version
    - docker run blacklabelops/java-6-jdk java -version
    - docker run blacklabelops/java-6-jdk gradle -v
    - docker run blacklabelops/java-6-jdk mvn -version

machine:
  services:
    - docker

dependencies:
  override:
    - docker version
    - docker info
    - docker build -t="blacklabelops/swarm-jdk8" -f ./java-jdk-8-oracle/Dockerfile java-jdk-8-oracle/
    - docker build -t="blacklabelops/swarm-jdk7" -f ./java-jdk-7-oracle/Dockerfile java-jdk-7-oracle/
    - docker build -t="blacklabelops/swarm-jdk6" -f ./java-jdk-6-oracle/Dockerfile java-jdk-6-oracle/

test:
  override:
    - docker run blacklabelops/swarm-jdk7 java -version
    - docker run blacklabelops/swarm-jdk7 gradle -v
    - docker run blacklabelops/swarm-jdk7 mvn -version
    - docker run blacklabelops/swarm-jdk8 java -version
    - docker run blacklabelops/swarm-jdk8 gradle -v
    - docker run blacklabelops/swarm-jdk8 mvn -version
    - docker run blacklabelops/swarm-jdk6 java -version
    - docker run blacklabelops/swarm-jdk6 gradle -v
    - docker run blacklabelops/swarm-jdk6 mvn -version

Build correction, adjusted container names.
Build correction, adjusted container names.
