28 - libspice-protocol-dev
37 # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
38 # to prevent IRC notifications from forks. This was created using:
39 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
43 - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM="
48 - TEST_CMD="make check"
51 - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
52 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
53 - CONFIG="--enable-modules"
54 - CONFIG="--with-coroutine=ucontext"
55 - CONFIG="--with-coroutine=sigaltstack"
57 # we want to do this ourselves
60 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
61 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
62 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
63 - git submodule update --init --recursive
65 - ./configure ${CONFIG}
67 - make -j3 && ${TEST_CMD}
70 # Test with CLang for compile portability
73 # gprof/gcov are GCC features
74 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
76 # We manually include builds which we disable "make check" for
77 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
80 - env: CONFIG="--enable-trace-backends=simple"
83 - env: CONFIG="--enable-trace-backends=ftrace"
86 - env: CONFIG="--enable-trace-backends=ust"
89 - env: CONFIG="--with-coroutine=gthread"
102 - sudo apt-get update -qq
103 - sudo apt-get build-dep -qq qemu
104 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
105 - git submodule update --init --recursive
106 # Trusty build with latest stable clang
114 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
115 - CONFIG="--cc=clang-3.9 --cxx=clang++-3.9"
117 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
118 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
119 - sudo apt-get update -qq
120 - sudo apt-get install -qq -y clang-3.9
121 - sudo apt-get build-dep -qq qemu
122 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
123 - git submodule update --init --recursive
125 - ./configure ${CONFIG} || cat config.log
126 # Using newer GCC with sanitizers
130 # PPAs for newer toolchains
131 - ubuntu-toolchain-r-test
153 - libspice-protocol-dev
154 - libspice-server-dev
164 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
165 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user --with-coroutine=gthread"
168 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log