mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-03 08:40:18 +01:00
Use older version of Docker for now.
This commit is contained in:
parent
7e004811a5
commit
54d4192363
1 changed files with 25 additions and 16 deletions
41
.travis.yml
41
.travis.yml
|
@ -2,27 +2,36 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- repository: geerlingguy/docker-centos7-ansible
|
global:
|
||||||
version: latest
|
# https://github.com/travis-ci/travis-ci/issues/6461#issuecomment-239577306
|
||||||
init: /usr/lib/systemd/systemd
|
DOCKER_VERSION: "1.9.1-0~trusty"
|
||||||
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
matrix:
|
||||||
- repository: geerlingguy/docker-centos6-ansible
|
- repository: geerlingguy/docker-centos7-ansible
|
||||||
version: latest
|
version: latest
|
||||||
init: /sbin/init
|
init: /usr/lib/systemd/systemd
|
||||||
run_opts: ""
|
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
||||||
- repository: geerlingguy/docker-ubuntu1404-ansible
|
- repository: geerlingguy/docker-centos6-ansible
|
||||||
version: latest
|
version: latest
|
||||||
init: /sbin/init
|
init: /sbin/init
|
||||||
run_opts: ""
|
run_opts: ""
|
||||||
- repository: geerlingguy/docker-ubuntu1204-ansible
|
- repository: geerlingguy/docker-ubuntu1404-ansible
|
||||||
version: latest
|
version: latest
|
||||||
init: /sbin/init
|
init: /sbin/init
|
||||||
run_opts: ""
|
run_opts: ""
|
||||||
|
- repository: geerlingguy/docker-ubuntu1204-ansible
|
||||||
|
version: latest
|
||||||
|
init: /sbin/init
|
||||||
|
run_opts: ""
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
before_install:
|
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.
|
# Pull container.
|
||||||
- 'sudo docker pull ${repository}:${version}'
|
- 'sudo docker pull ${repository}:${version}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue