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"
92 # Plain Trusty System Build
93 - env: CONFIG="--disable-linux-user"
99 - sudo apt-get update -qq
100 - sudo apt-get build-dep -qq qemu
101 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
102 - git submodule update --init --recursive
103 # Plain Trusty Linux User Build
104 - env: CONFIG="--disable-system"
110 - sudo apt-get update -qq
111 - sudo apt-get build-dep -qq qemu
112 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
113 - git submodule update --init --recursive
114 # Trusty System build with latest stable clang
121 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
122 - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9"
124 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
125 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
126 - sudo apt-get update -qq
127 - sudo apt-get install -qq -y clang-3.9
128 - sudo apt-get build-dep -qq qemu
129 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
130 - git submodule update --init --recursive
132 - ./configure ${CONFIG} || cat config.log
133 # Trusty Linux User build with latest stable clang
140 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
141 - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9"
143 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
144 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
145 - sudo apt-get update -qq
146 - sudo apt-get install -qq -y clang-3.9
147 - sudo apt-get build-dep -qq qemu
148 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
149 - git submodule update --init --recursive
151 - ./configure ${CONFIG} || cat config.log
152 # Using newer GCC with sanitizers
156 # PPAs for newer toolchains
157 - ubuntu-toolchain-r-test
179 - libspice-protocol-dev
180 - libspice-server-dev
190 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
191 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
194 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log