-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
26 lines (20 loc) · 833 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
---
language: python3
dist: focal
install:
# Install test dependencies.
# Install libvrt & KVM
- sudo apt-get update && sudo apt-get install -y bridge-utils dnsmasq-base ebtables libvirt-daemon-system libvirt-clients libvirt-dev qemu-kvm qemu-utils ruby-dev
# Download Vagrant & Install Vagrant package
- sudo wget -nv https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb
- sudo dpkg -i vagrant_2.2.14_x86_64.deb
- vagrant --version
# Install vagrant-libvirt Vagrant plugin
- sudo vagrant plugin install vagrant-libvirt
# Install python dependensys
- sudo pip3 install molecule[vagrant] molecule-vagrant python-vagrant yamllint ansible-lint ansible
script:
# Run tests.
- sudo molecule test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/?branch=master