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

Change to travis-ci.com

This commit is contained in:
L3D 2020-10-27 16:27:28 +01:00 committed by Lilian Roller
parent 2e4a5b98d2
commit 7a910c57e9
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 18 additions and 19 deletions

View file

@ -1,28 +1,27 @@
---
# OS Details
os: linux
language: python language: python
python: "3.8" python: '3.8'
# Use the new container infrastructure cache:
sudo: false pip: true
# Install ansible
addons:
apt:
packages:
- python-pip
# Install ansible and ansible-lint
install: install:
# Install ansible
- pip install ansible - pip install ansible
- pip install ansible-lint
# Check ansible version # more advanced testing is currently handled with
- ansible --version # github actions. The gh-actions for our test are there:
# https://github.com/roles-ansible and are tagged
# Create ansible.cfg with correct roles_path # with 'github-actions' --> https://github.com/search?q=topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories
- printf '[defaults]\nroles_path=../' >ansible.cfg
script: script:
# Basic role syntax check - ansible-lint .
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check - 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-ranger/actions\n\n\n\n\n\n"
notifications: notifications:
email:
on_success: never
on_failure: always
webhooks: https://galaxy.ansible.com/api/v1/notifications/ webhooks: https://galaxy.ansible.com/api/v1/notifications/

View file

@ -48,7 +48,7 @@ If you want to find out more about our tests, please have a look at the github m
| test status | Github Marketplace | | test status | Github Marketplace |
| :--------- | :---------------- | | :--------- | :---------------- |
| [![Travis Build Status](https://travis-ci.org/roles-ansible/ansible_role_base.svg?branch=master)](https://travis-ci.org/roles-ansible/ansible_role_base) | [.travis.yml](https://github.com/roles-ansible/ansible_role_base/blob/master/.travis.yml) | | [![Travis Build Status](https://travis-ci.com/roles-ansible/ansible_role_base.svg?branch=master)](https://travis-ci.com/roles-ansible/ansible_role_base) | [.travis.yml](https://github.com/roles-ansible/ansible_role_base/blob/master/.travis.yml) |
||| |||
| [![Ansible Lint check](https://github.com/roles-ansible/ansible_role_base/workflows/Ansible%20Lint%20check/badge.svg)](https://github.com/roles-ansible/ansible_role_base/actions?query=workflow%3A%22Ansible+Lint+check%22) | [ansible-lint action](https://github.com/marketplace/actions/ansible-lint) | [![Ansible Lint check](https://github.com/roles-ansible/ansible_role_base/workflows/Ansible%20Lint%20check/badge.svg)](https://github.com/roles-ansible/ansible_role_base/actions?query=workflow%3A%22Ansible+Lint+check%22) | [ansible-lint action](https://github.com/marketplace/actions/ansible-lint)
| [![Ansible check debian:stable](https://github.com/roles-ansible/ansible_role_base/workflows/Ansible%20check%20debian:stable/badge.svg)](https://github.com/roles-ansible/ansible_role_base/actions?query=workflow%3A%22Ansible+check+debian%3Astable%22) | [ansible test with debian stable](https://github.com/marketplace/actions/check-ansible-debian-stable) | | [![Ansible check debian:stable](https://github.com/roles-ansible/ansible_role_base/workflows/Ansible%20check%20debian:stable/badge.svg)](https://github.com/roles-ansible/ansible_role_base/actions?query=workflow%3A%22Ansible+check+debian%3Astable%22) | [ansible test with debian stable](https://github.com/marketplace/actions/check-ansible-debian-stable) |