xen_pt: Fix passthrough of device with ROM.
[qemu.git] / .travis.yml
blobc7ff4da29c8f64de64f5583e263a2690679672e1
1 language: c
2 python:
3   - "2.4"
4 compiler:
5   - gcc
6   - clang
7 env:
8   global:
9     - TEST_CMD="make check"
10     - EXTRA_CONFIG=""
11     # Development packages, EXTRA_PKGS saved for additional builds
12     - CORE_PKGS="libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev"
13     - NET_PKGS="libseccomp-dev libgnutls-dev libssh2-1-dev  libspice-server-dev libspice-protocol-dev libnss3-dev"
14     - GUI_PKGS="libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev"
15     - EXTRA_PKGS=""
16   matrix:
17   - TARGETS=alpha-softmmu,alpha-linux-user
18   - TARGETS=arm-softmmu,arm-linux-user
19   - TARGETS=aarch64-softmmu,aarch64-linux-user
20   - TARGETS=cris-softmmu
21   - TARGETS=i386-softmmu,x86_64-softmmu
22   - TARGETS=lm32-softmmu
23   - TARGETS=m68k-softmmu
24   - TARGETS=microblaze-softmmu,microblazeel-softmmu
25   - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
26   - TARGETS=moxie-softmmu
27   - TARGETS=or32-softmmu,
28   - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu
29   - TARGETS=s390x-softmmu
30   - TARGETS=sh4-softmmu,sh4eb-softmmu
31   - TARGETS=sparc-softmmu,sparc64-softmmu
32   - TARGETS=unicore32-softmmu
33   - TARGETS=xtensa-softmmu,xtensaeb-softmmu
34 before_install:
35   - git submodule update --init --recursive
36   - sudo apt-get update -qq
37   - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
38 script: "./configure --target-list=${TARGETS} ${EXTRA_CONFIG} && make && ${TEST_CMD}"
39 matrix:
40   # We manually include a number of additional build for non-standard bits
41   include:
42     # Debug related options
43     - env: TARGETS=i386-softmmu,x86_64-softmmu
44            EXTRA_CONFIG="--enable-debug"
45       compiler: gcc
46     - env: TARGETS=i386-softmmu,x86_64-softmmu
47            EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
48       compiler: gcc
49     # Currently configure doesn't force --disable-pie
50     - env: TARGETS=i386-softmmu,x86_64-softmmu
51            EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
52       compiler: gcc
53     - env: TARGETS=i386-softmmu,x86_64-softmmu
54            EXTRA_PKGS="sparse"
55            EXTRA_CONFIG="--enable-sparse"
56       compiler: gcc
57     # All the trace backends (apart from dtrace)
58     - env: TARGETS=i386-softmmu,x86_64-softmmu
59            EXTRA_CONFIG="--enable-trace-backend=stderr"
60       compiler: gcc
61     - env: TARGETS=i386-softmmu,x86_64-softmmu
62            EXTRA_CONFIG="--enable-trace-backend=simple"
63       compiler: gcc
64     - env: TARGETS=i386-softmmu,x86_64-softmmu
65            EXTRA_CONFIG="--enable-trace-backend=ftrace"
66            TEST_CMD=""
67       compiler: gcc
68     # This disabled make check for the ftrace backend which needs more setting up
69     # Currently broken on 12.04 due to mis-packaged liburcu and changed API, will be pulled.
70     #- env: TARGETS=i386-softmmu,x86_64-softmmu
71     #       EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
72     #       EXTRA_CONFIG="--enable-trace-backend=ust"