1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
ansible_role_restic/.travis.yml

39 lines
696 B
YAML
Raw Normal View History

2019-08-14 16:42:55 +02:00
---
language: python
services: docker
env:
global:
- ROLE_NAME: restic
matrix:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: centos6
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: debian9
- MOLECULE_DISTRO: debian10
install:
- pip install molecule docker
- git clone https://github.com/arillso/tests molecule/default/lint
2019-08-15 13:25:20 +02:00
addons:
apt:
packages:
- bzip2
2019-08-14 16:42:55 +02:00
before_script:
- cd ../
2019-08-14 17:11:11 +02:00
- mv ansible.$ROLE_NAME arillso.$ROLE_NAME
2019-08-15 08:48:29 +02:00
- cd arillso.$ROLE_NAME
2019-08-14 16:42:55 +02:00
script:
- molecule test
notifications:
webhooks:
urls:
- https://galaxy.ansible.com/api/v1/notifications/
on_success: always
email:
on_success: never
on_failure: always