From 4ca94085f12ade76509ec22a6dd59079422c9e15 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Thu, 31 Mar 2016 13:26:05 +0100 Subject: [PATCH 1/3] .travis.yml: add libnfs-dev for NFS block driver MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's ensure that block/nfs.o is built in Travis. This patch depends on the following build fixes: 1. block/nfs: add missing #include "qapi/error.h" 2. block/nfs: add missing #include "qemu/cutils.h" This patch also depends on Travis adding libnfs-dev to the list of approved packages. This patch can be safely committed but will not do anything until the Travis maintainers allow libnfs-dev to be installed. Please see the GitHub Issue I raised here: https://github.com/travis-ci/apt-package-whitelist/issues/2788 Signed-off-by: Stefan Hajnoczi Signed-off-by: Alex Bennée --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 50ac17f4d7..beb98d3645 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ addons: - libgtk-3-dev - libiscsi-dev - liblttng-ust-dev + - libnfs-dev - libncurses5-dev - libnss3-dev - libpixman-1-dev From 4adb05d8bd2a1b78828ee541ad9eaf1460687d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Wed, 23 Mar 2016 12:49:43 +0000 Subject: [PATCH 2/3] .travis.yml: add trusty GCE target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we want to run our docker based tests we'll need to do them on a normal VM with docker support. Lets just enable the build on trusty for now to check against a newer Ubuntu. Signed-off-by: Alex Bennée --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index beb98d3645..cde7d1a8c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -89,3 +89,13 @@ matrix: - env: CONFIG="" os: osx compiler: clang + - env: CONFIG="" + sudo: required + addons: + dist: trusty + compiler: gcc + before_install: + - sudo apt-get update -qq + - sudo apt-get build-dep -qq qemu + - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ + - git submodule update --init --recursive From 23654d45f8ac08e3725831d812eb8dcf74e5a0a0 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 6 Jun 2016 16:39:47 +0200 Subject: [PATCH 3/3] .travis.yml: disable Sparse testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On travis-ci.org, all builds fail with /usr/include/features.h:324:11: error: unable to open bits/predefs.h With "make docker-travis@ubuntu", they fail with /usr/include/features.h:374:13: error: unable to open sys/cdefs.h With "make docker-travis@fedora", finally, they fail due to sparse not being able to parse some #pragmas in glib headers. Just kill the thing from the CI builds. Signed-off-by: Paolo Bonzini [AJB: tweak title for my OCD] Signed-off-by: Alex Bennée --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index cde7d1a8c8..c13881e0d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,9 +64,6 @@ script: - make -j3 && ${TEST_CMD} matrix: include: - # Sparse is GCC only - - env: CONFIG="--enable-sparse" - compiler: gcc # gprof/gcov are GCC features - env: CONFIG="--enable-gprof --enable-gcov --disable-pie" compiler: gcc