-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
30 lines (26 loc) · 911 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
dist: focal
language: python
python:
- "3.9"
matrix:
include:
- env: ANSIBLE_VERSION=2.10.7
- env: ANSIBLE_VERSION=3.4.0
- env: ANSIBLE_VERSION=4.10.0
- env: ANSIBLE_VERSION=5.10.0
- env: ANSIBLE_VERSION=6.0.0
before_install:
- sudo apt-get -y install software-properties-common
- sudo -H pip install --no-cache-dir ansible==$ANSIBLE_VERSION
- ansible --version
# We download the latest deploy stable tag
- sudo ansible-galaxy install -c ansistrano.deploy
script:
- echo localhost > inventory
- ansible-playbook -i inventory test/test.yml --syntax-check
- ansible-playbook -i inventory --connection=local --become -v test/deploy.yml
- ansible-playbook -i inventory --connection=local --become -v test/deploy.yml
- ansible-playbook -i inventory --connection=local --become -v test/test.yml
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/