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"
53 - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
54 - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
55 - CONFIG="--enable-modules"
56 - CONFIG="--with-coroutine=ucontext"
57 - CONFIG="--with-coroutine=sigaltstack"
59 # we want to do this ourselves
62 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update ; fi
63 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libffi gettext glib pixman ; fi
64 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
65 - git submodule update --init --recursive
67 - ./configure ${CONFIG}
69 - make ${MAKEFLAGS} && ${TEST_CMD}
72 # Test with CLang for compile portability
75 # gprof/gcov are GCC features
76 - env: CONFIG="--enable-gprof --enable-gcov --disable-pie"
78 # We manually include builds which we disable "make check" for
79 - env: CONFIG="--enable-debug --enable-tcg-interpreter"
82 - env: CONFIG="--enable-trace-backends=simple"
85 - env: CONFIG="--enable-trace-backends=ftrace"
88 - env: CONFIG="--enable-trace-backends=ust"
91 - env: CONFIG="--disable-tcg"
97 # Plain Trusty System Build
98 - env: CONFIG="--disable-linux-user"
104 - sudo apt-get update -qq
105 - sudo apt-get build-dep -qq qemu
106 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
107 - git submodule update --init --recursive
108 # Plain Trusty Linux User Build
109 - env: CONFIG="--disable-system"
115 - sudo apt-get update -qq
116 - sudo apt-get build-dep -qq qemu
117 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
118 - git submodule update --init --recursive
119 # Trusty System build with latest stable clang & python 3.0
128 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
129 - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3"
131 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
132 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
133 - sudo apt-get update -qq
134 - sudo apt-get install -qq -y clang-3.9
135 - sudo apt-get build-dep -qq qemu
136 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
137 - git submodule update --init --recursive
139 - ./configure ${CONFIG} || cat config.log
140 # Trusty Linux User build with latest stable clang & python 3.6
149 - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
150 - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9 --python=/usr/bin/python3"
152 - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
153 - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
154 - sudo apt-get update -qq
155 - sudo apt-get install -qq -y clang-3.9
156 - sudo apt-get build-dep -qq qemu
157 - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
158 - git submodule update --init --recursive
160 - ./configure ${CONFIG} || cat config.log
161 # Using newer GCC with sanitizers
165 # PPAs for newer toolchains
166 - ubuntu-toolchain-r-test
188 - libspice-protocol-dev
189 - libspice-server-dev
199 - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
200 - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
203 - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log