29 - libspice-protocol-dev
38 # The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
39 # to prevent IRC notifications from forks. This was created using:
40 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
44 - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM="
49 - TEST_CMD="make check"
52 - CONFIG="--disable-system"
53 - CONFIG="--disable-user"
54 - CONFIG="--enable-debug --enable-debug-tcg"
55 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb --disable-user"
56 - CONFIG="--enable-modules --disable-linux-user"
57 - CONFIG="--with-coroutine=ucontext --disable-linux-user"
58 - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"
60 # we want to do this ourselves
63 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
64 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
65 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
66 - git submodule update --init --recursive
68 - ./configure ${CONFIG}
70 - make ${MAKEFLAGS} && ${TEST_CMD}
73 # Test with CLang for compile portability
76 # gprof/gcov are GCC features
77 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
79 # We manually include builds which we disable "make check" for
80 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
83 - env: CONFIG="--enable-trace-backends=simple"
86 - env: CONFIG="--enable-trace-backends=ftrace"
89 - env: CONFIG="--enable-trace-backends=ust"
92 - env: CONFIG="--disable-tcg"
98 # Plain Trusty System Build
99 - env: CONFIG="--disable-linux-user"
105 - sudo apt-get update -qq
106 - sudo apt-get build-dep -qq qemu
107 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
108 - git submodule update --init --recursive
109 # Plain Trusty Linux User Build
110 - env: CONFIG="--disable-system"
116 - sudo apt-get update -qq
117 - sudo apt-get build-dep -qq qemu
118 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
119 - git submodule update --init --recursive
120 # Trusty System build with latest stable clang & python 3.0
129 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
130 - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3"
132 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
133 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
134 - sudo apt-get update -qq
135 - sudo apt-get install -qq -y clang-3.9
136 - sudo apt-get build-dep -qq qemu
137 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
138 - git submodule update --init --recursive
140 - ./configure ${CONFIG} || cat config.log
141 # Trusty Linux User build with latest stable clang & python 3.6
150 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
151 - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3"
153 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
154 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
155 - sudo apt-get update -qq
156 - sudo apt-get install -qq -y clang-3.9
157 - sudo apt-get build-dep -qq qemu
158 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
159 - git submodule update --init --recursive
161 - ./configure ${CONFIG} || cat config.log
162 # Using newer GCC with sanitizers
166 # PPAs for newer toolchains
167 - ubuntu-toolchain-r-test
189 - libspice-protocol-dev
190 - libspice-server-dev
200 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
201 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
204 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log