1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00
ansible_role_versioncheck/.travis.yml

30 lines
902 B
YAML
Raw Normal View History

2020-02-20 19:40:50 +01:00
---
# OS Details
os: linux
language: python
python: '3.8'
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
script:
2020-03-03 12:44:56 +01:00
- ansible-galaxy install do1jlr.ansible_version
2020-02-20 19:40:50 +01:00
- ansible-lint .
2020-03-03 12:44:56 +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/role_ansible-version/actions\n\n\n\n\n\n"
2020-02-20 19:40:50 +01:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
2020-03-03 12:53:51 +01:00
email:
on_success: never
on_failure: always