Use older version of Docker for now.

This commit is contained in:
Jeff Geerling 2016-08-28 20:23:31 -05:00
parent 7e004811a5
commit 54d4192363

View file

@ -2,27 +2,36 @@
sudo: required
env:
- repository: geerlingguy/docker-centos7-ansible
version: latest
init: /usr/lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- repository: geerlingguy/docker-centos6-ansible
version: latest
init: /sbin/init
run_opts: ""
- repository: geerlingguy/docker-ubuntu1404-ansible
version: latest
init: /sbin/init
run_opts: ""
- repository: geerlingguy/docker-ubuntu1204-ansible
version: latest
init: /sbin/init
run_opts: ""
global:
# https://github.com/travis-ci/travis-ci/issues/6461#issuecomment-239577306
DOCKER_VERSION: "1.9.1-0~trusty"
matrix:
- repository: geerlingguy/docker-centos7-ansible
version: latest
init: /usr/lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- repository: geerlingguy/docker-centos6-ansible
version: latest
init: /sbin/init
run_opts: ""
- repository: geerlingguy/docker-ubuntu1404-ansible
version: latest
init: /sbin/init
run_opts: ""
- repository: geerlingguy/docker-ubuntu1204-ansible
version: latest
init: /sbin/init
run_opts: ""
services:
- docker
before_install:
# Downgrade to specific version of Docker engine.
- sudo apt-get update
- sudo apt-get remove docker-engine -yq
- sudo apt-get install docker-engine=$DOCKER_VERSION -yq --no-install-suggests --no-install-recommends --force-yes -o Dpkg::Options::="--force-confnew"
# Pull container.
- 'sudo docker pull ${repository}:${version}'