language: go
go:
  - 1.8

cache:
  directories:
    - vendor

script:
  - go get github.com/Masterminds/glide
  - glide install
  - go test -v $(glide nv)

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      make docker-build && make docker-push;
    fi;
language: go
go:
  - 1.8

cache:
  directories:
    - vendor

sudo: required

services:
  - docker

script:
  - go get github.com/Masterminds/glide
  - glide install
  - go test -v $(glide nv)

after_success:
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      make docker-build && make docker-push;
    fi;
Add docker services with sudo requirements
Add docker services with sudo requirements
