mirror of
https://github.com/roles-ansible/ansible_role_ranger.git
synced 2024-08-16 14:19:48 +02:00
Add travis test
This commit is contained in:
parent
e622ac1bc4
commit
8ec1a7fb0c
1 changed files with 26 additions and 0 deletions
26
.travis.yml
Normal file
26
.travis.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
# 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:
|
||||
- ansible-galaxy install do1jlr.ranger
|
||||
- ansible-lint .
|
||||
- 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/chaos-bodensee/role-ranger/actions\n\n\n\n\n\n"
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
Loading…
Reference in a new issue