mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-08 23:13:29 +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
|
||||
|
||||
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}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue