qemu-iotests: add 058 internal snapshot export with qemu-nbd case
[qemu/cris-port.git] / .travis.yml
blob90f167630af116cdc06a36f4f984b15ad0cd0243
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=cris-softmmu
20   - TARGETS=i386-softmmu,x86_64-softmmu
21   - TARGETS=lm32-softmmu
22   - TARGETS=m68k-softmmu
23   - TARGETS=microblaze-softmmu,microblazeel-softmmu
24   - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
25   - TARGETS=moxie-softmmu
26   - TARGETS=or32-softmmu,
27   - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu
28   - TARGETS=s390x-softmmu
29   - TARGETS=sh4-softmmu,sh4eb-softmmu
30   - TARGETS=sparc-softmmu,sparc64-softmmu
31   - TARGETS=unicore32-softmmu
32   - TARGETS=xtensa-softmmu,xtensaeb-softmmu
33 before_install:
34   - git submodule update --init --recursive
35   - sudo apt-get update -qq
36   - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
37 script: "./configure --target-list=${TARGETS} ${EXTRA_CONFIG} && make && ${TEST_CMD}"
38 matrix:
39   # We manually include a number of additional build for non-standard bits
40   include:
41     # Debug related options
42     - env: TARGETS=i386-softmmu,x86_64-softmmu
43            EXTRA_CONFIG="--enable-debug"
44       compiler: gcc
45     - env: TARGETS=i386-softmmu,x86_64-softmmu
46            EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
47       compiler: gcc
48     # Currently configure doesn't force --disable-pie
49     - env: TARGETS=i386-softmmu,x86_64-softmmu
50            EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
51       compiler: gcc
52     - env: TARGETS=i386-softmmu,x86_64-softmmu
53            EXTRA_PKGS="sparse"
54            EXTRA_CONFIG="--enable-sparse"
55       compiler: gcc
56     # All the trace backends (apart from dtrace)
57     - env: TARGETS=i386-softmmu,x86_64-softmmu
58            EXTRA_CONFIG="--enable-trace-backend=stderr"
59       compiler: gcc
60     - env: TARGETS=i386-softmmu,x86_64-softmmu
61            EXTRA_CONFIG="--enable-trace-backend=simple"
62       compiler: gcc
63     - env: TARGETS=i386-softmmu,x86_64-softmmu
64            EXTRA_CONFIG="--enable-trace-backend=ftrace"
65            TEST_CMD=""
66       compiler: gcc
67     # This disabled make check for the ftrace backend which needs more setting up
68     # Currently broken on 12.04 due to mis-packaged liburcu and changed API, will be pulled.
69     #- env: TARGETS=i386-softmmu,x86_64-softmmu
70     #       EXTRA_PKGS="liblttng-ust-dev liburcu-dev"
71     #       EXTRA_CONFIG="--enable-trace-backend=ust"