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