-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1002 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
31
32
33
34
35
36
37
38
39
40
41
42
43
---
dist: bionic
language: python
python:
- "3.8"
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main'
key_url: 'https://apt.releases.hashicorp.com/gpg'
update: true
packages:
- bridge-utils
- dnsmasq-base
- ebtables
- libvirt-bin
- libvirt-dev
- qemu-kvm
- qemu-utils
- ruby-dev
- ca-certificates
- curl
- gcc
- iproute2
- sudo
- vagrant
install:
- vagrant plugin install vagrant-libvirt
- pip install wheel pyopenssl
- pip install netaddr python-vagrant yamllint testinfra flake8
- pip install ansible-compat==0.5.0 # see https://github.com/ansible-community/molecule/issues/3404
- pip install ansible ansible-lint
- pip install molecule molecule-vagrant python-vagrant
- sudo chmod o+rwx /var/run/libvirt/libvirt-sock
script: travis_wait 30 molecule test --scenario-name kvm
branches:
only:
- master