-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path.travis.yml
46 lines (40 loc) · 881 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
44
45
46
---
os: linux
dist: bionic
language: shell
git:
submodules: true
symlinks: true
branches:
only:
- master
cache:
directories:
- .test_files/
- /home/travis/.vagrant.d/boxes
before_install:
- cat /proc/cpuinfo
# Check if the CI really needs to run
- ./tests/test_helper/check_if_cirun_needed.sh || travis_terminate 0
- ./tests/test_helper/travisci_setup.sh
- make versions
jobs:
include:
- name: libvirt_centos7
env:
- BOX_OS="centos7"
- VAGRANT_DEFAULT_PROVIDER="libvirt"
- name: libvirt_centos8
env:
- BOX_OS="centos8"
- VAGRANT_DEFAULT_PROVIDER="libvirt"
- name: libvirt_fedora
env:
- BOX_OS="fedora"
- VAGRANT_DEFAULT_PROVIDER="libvirt"
- name: libvirt_ubuntu
env:
- BOX_OS="ubuntu"
- VAGRANT_DEFAULT_PROVIDER="libvirt"
script:
- sudo -E su "$(whoami)" -c "make tests"