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"
52 - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
53 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
54 - CONFIG="--enable-modules"
55 - CONFIG="--with-coroutine=ucontext"
56 - CONFIG="--with-coroutine=sigaltstack"
58 # we want to do this ourselves
61 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
62 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
63 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
64 - git submodule update --init --recursive
66 - ./configure ${CONFIG}
68 - make ${MAKEFLAGS} && ${TEST_CMD}
71 # Test with CLang for compile portability
74 # gprof/gcov are GCC features
75 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
77 # We manually include builds which we disable "make check" for
78 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
81 - env: CONFIG="--enable-trace-backends=simple"
84 - env: CONFIG="--enable-trace-backends=ftrace"
87 - env: CONFIG="--enable-trace-backends=ust"
90 - env: CONFIG="--disable-tcg"
96 # Plain Trusty System Build
97 - env: CONFIG="--disable-linux-user"
103 - sudo apt-get update -qq
104 - sudo apt-get build-dep -qq qemu
105 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
106 - git submodule update --init --recursive
107 # Plain Trusty Linux User Build
108 - env: CONFIG="--disable-system"
114 - sudo apt-get update -qq
115 - sudo apt-get build-dep -qq qemu
116 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
117 - git submodule update --init --recursive
118 # Trusty System build with latest stable clang
125 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
126 - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9"
128 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
129 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
130 - sudo apt-get update -qq
131 - sudo apt-get install -qq -y clang-3.9
132 - sudo apt-get build-dep -qq qemu
133 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
134 - git submodule update --init --recursive
136 - ./configure ${CONFIG} || cat config.log
137 # Trusty Linux User build with latest stable clang
144 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
145 - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9"
147 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
148 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
149 - sudo apt-get update -qq
150 - sudo apt-get install -qq -y clang-3.9
151 - sudo apt-get build-dep -qq qemu
152 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
153 - git submodule update --init --recursive
155 - ./configure ${CONFIG} || cat config.log
156 # Using newer GCC with sanitizers
160 # PPAs for newer toolchains
161 - ubuntu-toolchain-r-test
183 - libspice-protocol-dev
184 - libspice-server-dev
194 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
195 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
198 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log