]> git.proxmox.com Git - mirror_qemu.git/blame - .travis.yml
.travis.yml: collapse the test matrix
[mirror_qemu.git] / .travis.yml
CommitLineData
692d162c 1sudo: false
fe863ab9
AB
2language: c
3python:
4 - "2.4"
5compiler:
6 - gcc
7 - clang
4c33d42d 8cache: ccache
692d162c
AB
9addons:
10 apt:
11 packages:
12 - libaio-dev
13 - libattr1-dev
14 - libbrlapi-dev
15 - libcap-ng-dev
16 - libgnutls-dev
17 - libgtk-3-dev
18 - libiscsi-dev
19 - liblttng-ust-dev
20 - libncurses5-dev
21 - libnss3-dev
22 - libpixman-1-dev
23 - libpng12-dev
24 - librados-dev
25 - libsdl1.2-dev
26 - libseccomp-dev
27 - libspice-protocol-dev
28 - libspice-server-dev
29 - libssh2-1-dev
30 - liburcu-dev
31 - libusb-1.0-0-dev
32 - libvte-2.90-dev
33 - sparse
34 - uuid-dev
35
39d16d29
AB
36notifications:
37 irc:
38 channels:
39 - "irc.oftc.net#qemu"
40 on_success: change
41 on_failure: always
fe863ab9
AB
42env:
43 global:
01337fbd 44 - TEST_CMD="make check"
fe863ab9 45 matrix:
6c933291
AB
46 - CONFIG=""
47 - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
48 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
49 - CONFIG="--enable-modules"
50 - CONFIG="--with-coroutine=ucontext"
51 - CONFIG="--with-coroutine=sigaltstack"
cb021cfe
AB
52git:
53 # we want to do this ourselves
54 submodules: false
fe863ab9 55before_install:
cb021cfe 56 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
fe863ab9 57 - git submodule update --init --recursive
eebf2940 58before_script:
6c933291 59 - ./configure ${CONFIG}
eebf2940 60script:
ed173cb7 61 - make -j2 && ${TEST_CMD}
fe863ab9 62matrix:
fe863ab9 63 include:
6c933291
AB
64 # Sparse is GCC only
65 - env: CONFIG="--enable-sparse"
fe863ab9 66 compiler: gcc
6c933291
AB
67 # gprof/gcov are GCC features
68 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
fe863ab9 69 compiler: gcc
6c933291
AB
70 # We manually include builds which we disable "make check" for
71 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
01337fbd 72 TEST_CMD=""
fe863ab9 73 compiler: gcc
6c933291 74 - env: CONFIG="--enable-trace-backends=simple"
01337fbd 75 TEST_CMD=""
fe863ab9 76 compiler: gcc
6c933291 77 - env: CONFIG="--enable-trace-backends=ftrace"
01337fbd 78 TEST_CMD=""
86c3b20a 79 compiler: gcc
6c933291 80 - env: CONFIG="--enable-trace-backends=ust"
15552dbb
AB
81 TEST_CMD=""
82 compiler: gcc
6c933291
AB
83 - env: CONFIG="--with-coroutine=gthread"
84 TEST_CMD=""
dd858343 85 compiler: gcc