2019-02-01 14:37:03 +01:00
|
|
|
---
|
2020-11-29 23:13:22 +01:00
|
|
|
# OS Details
|
|
|
|
os: linux
|
|
|
|
language: python
|
|
|
|
python: '3.8'
|
2019-02-01 14:37:03 +01:00
|
|
|
|
2020-11-29 23:13:22 +01:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
|
|
|
|
# Install ansible and ansible-lint
|
|
|
|
install:
|
|
|
|
- pip install ansible
|
|
|
|
- pip install ansible-lint
|
|
|
|
|
|
|
|
# testing galaxy install and ansible lint
|
|
|
|
# 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
|
2019-02-01 14:37:03 +01:00
|
|
|
script:
|
2020-11-29 23:13:22 +01:00
|
|
|
# - ansible-galaxy install do1jlr.dotfiles
|
|
|
|
- ansible-lint .
|
|
|
|
- echo -e "\n\n\n\n\nWe use github actions for more detailed tests.\n\n\n\n\n"
|
|
|
|
|
2019-05-17 15:59:38 +02:00
|
|
|
notifications:
|
2020-11-29 23:13:22 +01:00
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|