language: bash
services: docker

env:
  - PY_VERSION=3.4
  - PY_VERSION=2.7

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

before_script:
  - env | sort
  - cd "$PY_VERSION"
  - image="django:python$PY_VERSION"

script:
  - docker build -t "$image" .
  - ~/official-images/test/run.sh "$image"
  - docker build -t "$image-onbuild" onbuild

after_script:
  - docker images

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

language: bash
services: docker

env:
  - PY_VERSION=3.5
  - PY_VERSION=2.7

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

before_script:
  - env | sort
  - cd "$PY_VERSION"
  - image="django:python$PY_VERSION"

script:
  - docker build -t "$image" .
  - ~/official-images/test/run.sh "$image"
  - docker build -t "$image-onbuild" onbuild

after_script:
  - docker images

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

Update Python 3 version in Travis.
Update Python 3 version in Travis.
