language: bash
services: docker

env:
  - VERSION=3.7-rc VARIANT=debian
  - VERSION=3.7-rc VARIANT=alpine
  - VERSION=3.7 VARIANT=debian
  - VERSION=3.7 VARIANT=alpine
  - VERSION=3.7 VARIANT=ubuntu

install:
  - git clone https://github.com/docker-library/official-images.git ~/official-images

before_script:
  - env | sort
  - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
  - cd "$VERSION/$VARIANT"
  - image="$(awk 'toupper($1) == "FROM" { print $2; exit }' management/Dockerfile)"

script:
  - |
    (
      set -Eeuo pipefail
      set -x
      docker build -t "$image" .
      ~/official-images/test/run.sh "$image"
      docker build -t "${image}-management" management
      ~/official-images/test/run.sh "${image}-management"
    )

after_script:
  - docker images

# vim:set et ts=2 sw=2:

language: bash
services: docker

env:
  - VERSION=3.7-rc VARIANT=alpine
  - VERSION=3.7 VARIANT=alpine
  - VERSION=3.7 VARIANT=ubuntu

install:
  - git clone https://github.com/docker-library/official-images.git ~/official-images

before_script:
  - env | sort
  - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash
  - cd "$VERSION/$VARIANT"
  - image="$(awk 'toupper($1) == "FROM" { print $2; exit }' management/Dockerfile)"

script:
  - |
    (
      set -Eeuo pipefail
      set -x
      docker build -t "$image" .
      ~/official-images/test/run.sh "$image"
      docker build -t "${image}-management" management
      ~/official-images/test/run.sh "${image}-management"
    )

after_script:
  - docker images

# vim:set et ts=2 sw=2:

Remove 3.7 Debian builds from Travis
Remove 3.7 Debian builds from Travis

Keep forgetting about this file...
