1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/.travis.yml

28 lines
806 B
YAML
Raw Normal View History

2020-10-27 16:27:28 +01:00
---
# OS Details
os: linux
2020-08-28 14:01:22 +02:00
language: python
2020-10-27 16:27:28 +01:00
python: '3.8'
2020-08-28 14:01:22 +02:00
2020-10-27 16:27:28 +01:00
cache:
pip: true
2020-08-28 14:01:22 +02:00
2020-10-27 16:27:28 +01:00
# Install ansible and ansible-lint
2020-08-28 14:01:22 +02:00
install:
- pip install ansible
2020-10-27 16:27:28 +01:00
- pip install ansible-lint
2020-08-28 14:01:22 +02:00
2020-10-27 16:27:28 +01:00
# more advanced testing is currently handled with
# github actions. The gh-actions for our test are there:
# https://github.com/roles-ansible and are tagged
# with 'github-actions' --> https://github.com/search?q=topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories
2020-08-28 14:01:22 +02:00
script:
2020-10-27 16:27:28 +01:00
- ansible-lint .
2020-10-27 16:46:24 +01:00
- echo -e "\n\n\n\n\nWe use github actions for more detailed tests.\n\nMore details about that in our github repo at:\nhttps://github.com/roles-ansible/ansible_role_base/actions\n\n\n\n\n\n"
2020-08-28 14:01:22 +02:00
notifications:
2020-10-27 16:27:28 +01:00
email:
on_success: never
on_failure: always
2020-08-28 14:01:22 +02:00
webhooks: https://galaxy.ansible.com/api/v1/notifications/