language: go
sudo: required
go:
  - 1.4.2
  - 1.5.3
  - 1.6
  - tip
os:
  - linux
  - osx
env:
  - GOARCH=amd64 DOCKER_VERSION=1.8.3
  - GOARCH=386   DOCKER_VERSION=1.8.3
  - GOARCH=amd64 DOCKER_VERSION=1.9.1
  - GOARCH=386   DOCKER_VERSION=1.9.1
  - GOARCH=amd64 DOCKER_VERSION=1.10.3
  - GOARCH=386   DOCKER_VERSION=1.10.3
install:
  - travis_retry travis-scripts/install.bash
script:
  - travis-scripts/run-tests.bash
services:
  - docker
matrix:
  fast_finish: true
  allow_failures:
    - go: tip
