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="--disable-tcg"
95 # Plain Trusty System Build
96 - env: CONFIG="--disable-linux-user"
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 # Plain Trusty Linux User Build
107 - env: CONFIG="--disable-system"
113 - sudo apt-get update -qq
114 - sudo apt-get build-dep -qq qemu
115 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
116 - git submodule update --init --recursive
117 # Trusty System build with latest stable clang
124 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
125 - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9"
127 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
128 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
129 - sudo apt-get update -qq
130 - sudo apt-get install -qq -y clang-3.9
131 - sudo apt-get build-dep -qq qemu
132 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
133 - git submodule update --init --recursive
135 - ./configure ${CONFIG} || cat config.log
136 # Trusty Linux User build with latest stable clang
143 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
144 - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9"
146 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
147 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
148 - sudo apt-get update -qq
149 - sudo apt-get install -qq -y clang-3.9
150 - sudo apt-get build-dep -qq qemu
151 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
152 - git submodule update --init --recursive
154 - ./configure ${CONFIG} || cat config.log
155 # Using newer GCC with sanitizers
159 # PPAs for newer toolchains
160 - ubuntu-toolchain-r-test
182 - libspice-protocol-dev
183 - libspice-server-dev
193 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
194 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
197 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log