]> git.proxmox.com Git - mirror_qemu.git/blame - .travis.yml
.travis.yml: add libnfs-dev for NFS block driver
[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
4ca94085 20 - libnfs-dev
692d162c
AB
21 - libncurses5-dev
22 - libnss3-dev
23 - libpixman-1-dev
24 - libpng12-dev
25 - librados-dev
26 - libsdl1.2-dev
27 - libseccomp-dev
28 - libspice-protocol-dev
29 - libspice-server-dev
30 - libssh2-1-dev
31 - liburcu-dev
32 - libusb-1.0-0-dev
33 - libvte-2.90-dev
34 - sparse
35 - uuid-dev
36
39d16d29
AB
37notifications:
38 irc:
39 channels:
40 - "irc.oftc.net#qemu"
41 on_success: change
42 on_failure: always
fe863ab9
AB
43env:
44 global:
01337fbd 45 - TEST_CMD="make check"
fe863ab9 46 matrix:
6c933291
AB
47 - CONFIG=""
48 - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
49 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
50 - CONFIG="--enable-modules"
51 - CONFIG="--with-coroutine=ucontext"
52 - CONFIG="--with-coroutine=sigaltstack"
cb021cfe
AB
53git:
54 # we want to do this ourselves
55 submodules: false
fe863ab9 56before_install:
1d002037
AB
57 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
58 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
cb021cfe 59 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
fe863ab9 60 - git submodule update --init --recursive
eebf2940 61before_script:
6c933291 62 - ./configure ${CONFIG}
eebf2940 63script:
7436268c 64 - make -j3 && ${TEST_CMD}
fe863ab9 65matrix:
fe863ab9 66 include:
6c933291
AB
67 # Sparse is GCC only
68 - env: CONFIG="--enable-sparse"
fe863ab9 69 compiler: gcc
6c933291
AB
70 # gprof/gcov are GCC features
71 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
fe863ab9 72 compiler: gcc
6c933291
AB
73 # We manually include builds which we disable "make check" for
74 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
01337fbd 75 TEST_CMD=""
fe863ab9 76 compiler: gcc
6c933291 77 - env: CONFIG="--enable-trace-backends=simple"
01337fbd 78 TEST_CMD=""
fe863ab9 79 compiler: gcc
6c933291 80 - env: CONFIG="--enable-trace-backends=ftrace"
01337fbd 81 TEST_CMD=""
86c3b20a 82 compiler: gcc
6c933291 83 - env: CONFIG="--enable-trace-backends=ust"
15552dbb
AB
84 TEST_CMD=""
85 compiler: gcc
6c933291
AB
86 - env: CONFIG="--with-coroutine=gthread"
87 TEST_CMD=""
dd858343 88 compiler: gcc
1d002037
AB
89 - env: CONFIG=""
90 os: osx
91 compiler: clang