qemu: Fix switch() statements for virDomainIOMMUModel
[libvirt/ericb.git] / .travis.yml
blobb510c810835f2f8447e87ba03d38a96e352f5ec5
1 sudo: required
2 language: generic
4 branches:
5   except:
6     - /^.*-maint$/
8 addons:
9   homebrew:
10     update: true
11     packages:
12       - ccache
13       - rpcgen
14       - xz
15       - yajl
17 matrix:
18   include:
19     - services:
20         - docker
21       env:
22         - IMAGE="ubuntu-18"
23         - MAKE_ARGS="syntax-check distcheck"
24       script:
25         - make -f Makefile.ci ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
26     - services:
27         - docker
28       env:
29         - IMAGE="centos-7"
30         - MAKE_ARGS="syntax-check distcheck"
31       script:
32         - make -f Makefile.ci ci-build@$IMAGE CI_MAKE_ARGS="$MAKE_ARGS"
33     - services:
34         - docker
35       env:
36         - IMAGE="fedora-rawhide"
37         - MINGW="mingw32"
38       script:
39         - make -f Makefile.ci ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
40     - services:
41         - docker
42       env:
43         - IMAGE="fedora-rawhide"
44         - MINGW="mingw64"
45       script:
46         - make -f Makefile.ci ci-build@$IMAGE CI_CONFIGURE="$MINGW-configure"
47     - compiler: clang
48       language: c
49       os: osx
50       env:
51         - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
52       script:
53         # We can't run 'distcheck' or 'syntax-check' because they fail on
54         # macOS, but doing 'install' and 'dist' gives us some useful coverage
55         - ./autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist
57 git:
58   submodules: true
60 notifications:
61   irc:
62     # The channel name "irc.oftc.net#virt" is encrypted against libvirt/libvirt
63     # to prevent IRC notifications from github forks. This was created using:
64     # $ travis encrypt -r "libvirt/libvirt" "irc.oftc.net#virt"
65     channels:
66       - secure: "hUPdkLxX7nh75+clpnk4U0XLExLfV9DFKSvQSAUtf5JtDNMslj7AeOCf2wcbkNsEhkiF557odTAnov1s5m1w/yaa56zbjFAh5agzqRKya3QjqsrvlBKw/WuN+l82iMNLLeebTgCPAXrbAbGWH8YmYssp/7+eMsnKaVh84EQQNbMCHlLg6ovE26Fs18mZ6J5RC3OPa1vbv+xkdCHvGg/Oyp4K8bpU7RYyimA56jdxI/OfdTH9HxntHYSzykR7hDbyzZhdIlAUyRKReQVjcV5+R8fdDL/1imyGA/88KTztMeKXpZ5Rf+Ss3vYLZb6qsLLegCZ4AU/q0vvbWxjpZGJZoeyrVpfBTZdYGIzmLTMl9GYXXa/gDwFlbvRDiPDG4TIy6GlMUROinj7KRKEHu1fWRYu012ife5OjidxcwrTnz21vYaCv3AKWPpMPxwIzQPkY1hex9uLLX6z+TrAxxDLF+7UzRT9w2RLFBkLYlj2aDVrLAVb/ynRsxDz5CGzC61FSQVft2e308SkGjdn8YxvguCuXv+N70Fu1cvFyh5XYeHb4fbBRo0Ctzaec78leHlQvRGWKJxXDXRkE2lvvBc7YbBNSAYh7Fs8Y+zY7l7rMxvXdrt3nuaNQhe74V3yhxPDAld66qmAn9TYMmaZW2f5/KKKILLbCa0t2MxiAc6L2OI8="
67     on_success: change
68     on_failure: always
69   email:
70     # The list name 'libvirt-ci@redhat.com" is encrypted against libvirt/libvirt
71     # to prevent IRC notifications from github forks. This was created using:
72     # $ travis encrypt -r "libvirt/libvirt" "libvirt-ci@redhat.com"
73     recipients:
74       - secure: "QcU9eP96P0RlDNzVRZl/4sxyydPStGzECrpgJhr2IPB/7pHk23yaBrmUsq9S830tB+jwLGma1IscNB8uf7Sf7WY+cYIpfR8v030OffWnaipo/Gcs0dpnlfURWHjOFQI3RJzGEihsqvbwUFOwsM+3IDyO3qdWaiT6cN2Tj9ROlwYCySSX5YWzLyX7arBZ4lp8ESs7ohQaEwp2cegnMP2oGPJJe4SebvlCDjHZbjkU5aEradwUWnRQDJZWTKknpNLArVFxN2/ixp6f/MGY4DmkHoDweio6mHIPN5zTs5Jt32aiX6wDBa+bBa4v8TCRqzhYkQ63ZZhNV8bY5Uf9ufTdyvt96yIANyakd85b1QpMdAX76IyJi1l0/Uub6DTQZAcq3vK7iPjGeTVSpyoXrqTfGy4JxMjqDoocpWvv8ALX1wrYI/HfN2R2Aepw9jModTimOsebYhJ1yMhSt8qnh5AQNftGKL2JBKoA1LWdU2YJ5fO1bGjKNiVEkGFQTPYFWrYCUY5JcT+s5WCzNeMNm8s9na8liYhGl3WtS3rPr5M8bof+BMsBhG2hQ0loduc94x2GkvyhQZUgRbqrwNR+y4hn+rWFC3hBzzyiAULs43vY/PJ+eBdKEf3VAc0MkhQ8GgXGSA61fR6aXYonroI/WnBVItwDmUnnMfSziZXxk09GLl4="