forked from lotusnoir/ansible-apps_akhq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 956 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
language: python3.6
cache: pip
services: docker
env:
global:
- ROLE_NAME: apps_akhq
matrix:
- MOLECULE_DISTRO: ubuntu2004
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: ubuntu1604
- MOLECULE_DISTRO: debian10
- MOLECULE_DISTRO: debian9
- MOLECULE_DISTRO: debian8
- MOLECULE_DISTRO: centos8
- MOLECULE_DISTRO: centos7
# - MOLECULE_DISTRO: fedora33
# - MOLECULE_DISTRO: fedora32
before_install:
# Upgrade Docker to work with docker-py.
- curl https://gist.githubusercontent.com/geerlingguy/ce883ad4aec6a5f1187ef93bd338511e/raw/36612d28981d92863f839c5aefe5b7dd7193d6c6/travis-ci-docker-upgrade.sh | sudo bash
install:
# Install test dependencies.
- pip install molecule[docker] yamllint ansible-lint docker molecule-goss
before_script:
# To use the role without the ansible github flag
- cd ../
- mv ansible-$ROLE_NAME $ROLE_NAME
- cd $ROLE_NAME
script:
# Run tests.
- molecule test