machine:
  services:
    - docker

dependencies:
  override:
    - docker version
    - docker info
    - docker build -t="blacklabelops/jenkins-swarm" .

test:
  override:
    - docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm
    - docker exec jenkins-swarm java -version

machine:
  services:
    - docker

dependencies:
  override:
    - docker version
    - docker info
    - docker build -t="blacklabelops/jenkins-swarm" .

test:
  override:
    - docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm
    - docker logs jenkins-swarm

Build test set to log output.
Build test set to log output.
