language: go

go:
  - 1.x
  - 1.8.x
  - master

services:
  - docker


jobs:
  include:
    - stage: deploy
      script:
        # build caddy
        - make travis-build
        # build image and push
        - docker login --username="$DOCKER_USER" --password="$DOCKER_PASSWORD"
        - make docker
        - make docker-push

      go: 1.x

language: go

go:
  - 1.x
  - 1.8.x
  - master

services:
  - docker

script:
  - make travis-build

jobs:
  include:
    - stage: deploy
      script:
        # build caddy
        - make travis-build
        # build image and push
        - docker login --username="$DOCKER_USER" --password="$DOCKER_PASSWORD"
        - make docker
        - make docker-push

      go: 1.x

Use the right make rule for Travis builds
Use the right make rule for Travis builds
