Skip to content

Commit 0261783

Browse files
committed
Update tests for optimum efficiency.
1 parent e65af06 commit 0261783

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ env:
77
- ROLE_NAME: mysql
88
matrix:
99
- MOLECULE_DISTRO: centos7
10-
MOLECULE_DOCKER_COMMAND: /usr/lib/systemd/systemd
1110
- MOLECULE_DISTRO: centos6
11+
- MOLECULE_DISTRO: ubuntu1804
1212
- MOLECULE_DISTRO: ubuntu1604
13+
- MOLECULE_DISTRO: debian9
1314
- MOLECULE_DISTRO: debian8
1415

1516
install:

molecule/default/molecule.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ lint:
99
config-file: molecule/default/yaml-lint.yml
1010
platforms:
1111
- name: instance
12-
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
13-
command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
12+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
13+
command: ${MOLECULE_DOCKER_COMMAND:-""}
14+
volumes:
15+
- /sys/fs/cgroup:/sys/fs/cgroup:ro
1416
privileged: true
1517
pre_build_image: true
1618
provisioner:

0 commit comments

Comments
 (0)