Skip to contentSkip to conversation

Current travis queue

PATCH New Alex Bennée 1 participant 4 messages Jun 8, 2016

lore
Share & tools
lore
#0 lore raw

cover Current travis queue

Hi,

I have contributions from other developers which is an exciting first as a "maintainer" ;-). I've dropped all the controversial stuff that involved tweaking the configure script to allow short-cutting for classes of targets. Assuming there is no shouting over the next few days this will be the pull request I submit.

Alex Bennée (1):
.travis.yml: add trusty GCE target

Paolo Bonzini (1):
.travis.yml: disable Sparse testing

Stefan Hajnoczi (1):
.travis.yml: add libnfs-dev for NFS block driver

 .travis.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/3 .travis.yml: add libnfs-dev for NFS block driver

From: Stefan Hajnoczi <[email protected]>

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

---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)
.travis.yml +1 -0
index 50ac17f..beb98d3 100644
@@ -17,6 +17,7 @@ addons:
       - libgtk-3-dev
       - libiscsi-dev
       - liblttng-ust-dev
+      - libnfs-dev
       - libncurses5-dev
       - libnss3-dev
       - libpixman-1-dev
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/3 .travis.yml: add trusty GCE target

In reply to Alex Bennée

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.

---
 .travis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)
.travis.yml +10 -0
index beb98d3..cde7d1a 100644
@@ -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
Signature · 1 line
2.7.4
#3 lore raw

PATCH 3/3 .travis.yml: disable Sparse testing

In reply to Alex Bennée

From: Paolo Bonzini <[email protected]>

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.

[AJB: tweak title for my OCD]
---
 .travis.yml | 3 ---
 1 file changed, 3 deletions(-)
.travis.yml +0 -3
index cde7d1a..c13881e 100644
@@ -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
Signature · 1 line
2.7.4