]>
Commit | Line | Data |
---|---|---|
692d162c | 1 | sudo: false |
fe863ab9 AB |
2 | language: c |
3 | python: | |
4 | - "2.4" | |
5 | compiler: | |
6 | - gcc | |
7 | - clang | |
4c33d42d | 8 | cache: ccache |
692d162c AB |
9 | addons: |
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 |
36 | notifications: |
37 | irc: | |
38 | channels: | |
39 | - "irc.oftc.net#qemu" | |
40 | on_success: change | |
41 | on_failure: always | |
fe863ab9 AB |
42 | env: |
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 |
52 | git: |
53 | # we want to do this ourselves | |
54 | submodules: false | |
fe863ab9 | 55 | before_install: |
1d002037 AB |
56 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi |
57 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi | |
cb021cfe | 58 | - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ |
fe863ab9 | 59 | - git submodule update --init --recursive |
eebf2940 | 60 | before_script: |
6c933291 | 61 | - ./configure ${CONFIG} |
eebf2940 | 62 | script: |
7436268c | 63 | - make -j3 && ${TEST_CMD} |
fe863ab9 | 64 | matrix: |
fe863ab9 | 65 | include: |
6c933291 AB |
66 | # Sparse is GCC only |
67 | - env: CONFIG="--enable-sparse" | |
fe863ab9 | 68 | compiler: gcc |
6c933291 AB |
69 | # gprof/gcov are GCC features |
70 | - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" | |
fe863ab9 | 71 | compiler: gcc |
6c933291 AB |
72 | # We manually include builds which we disable "make check" for |
73 | - env: CONFIG="--enable-debug --enable-tcg-interpreter" | |
01337fbd | 74 | TEST_CMD="" |
fe863ab9 | 75 | compiler: gcc |
6c933291 | 76 | - env: CONFIG="--enable-trace-backends=simple" |
01337fbd | 77 | TEST_CMD="" |
fe863ab9 | 78 | compiler: gcc |
6c933291 | 79 | - env: CONFIG="--enable-trace-backends=ftrace" |
01337fbd | 80 | TEST_CMD="" |
86c3b20a | 81 | compiler: gcc |
6c933291 | 82 | - env: CONFIG="--enable-trace-backends=ust" |
15552dbb AB |
83 | TEST_CMD="" |
84 | compiler: gcc | |
6c933291 AB |
85 | - env: CONFIG="--with-coroutine=gthread" |
86 | TEST_CMD="" | |
dd858343 | 87 | compiler: gcc |
1d002037 AB |
88 | - env: CONFIG="" |
89 | os: osx | |
90 | compiler: clang |