sudo: required
services:
  - docker
language: scala
scala:
  - 2.10.6
  - 2.11.7
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
script:
  - export DOCKER_HOST=unix:///var/run/docker.sock
  - sbt ++$TRAVIS_SCALA_VERSION "test"

sudo: required
services:
  - docker
language: scala
scala:
  - 2.10.6
  - 2.11.7
jdk:
  - oraclejdk8
  - oraclejdk7
  - openjdk7
before_install:
  - sudo echo 'DOCKER_OPTS="-D -H tcp://127.0.0.1:2375"' > /etc/default/docker
  - sudo service docker restart
script:
  - export DOCKER_HOST=tcp://127.0.0.1:2375
  - sbt ++$TRAVIS_SCALA_VERSION "test"

Use TCP for docker communication on Travis
Use TCP for docker communication on Travis
