Skip to contentSkip to conversation

Travis updates

GIT PULL Applied Alex Bennée 2 participants 5 messages Jun 21, 2016

lore
Share & tools
lore
#0 lore raw

The following changes since commit 40eeb397c8b8008aa13bca3a8cb25d152eb5ab44:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2016-06-07 15:59:28 +0100)

are available in the git repository at:

https://github.com/stsquad/qemu.git tags/pull-travis-20160621-1

for you to fetch changes up to 23654d45f8ac08e3725831d812eb8dcf74e5a0a0:

.travis.yml: disable Sparse testing (2016-06-08 17:47:22 +0100)

----------------------------------------------------------------
This pull request contains:

- disable sparse testing
- add trusty build target
- add libnfs-dev for NFS block driver

These are the same patches posted last week for any last minute review.

----------------------------------------------------------------
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

[Qemu-devel] [PULL 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

[Qemu-devel] [PULL 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

[Qemu-devel] [PULL 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
#4 lore raw
In reply to Alex Bennée
Quoted 12 lines · Alex Bennée

The following changes since commit 40eeb397c8b8008aa13bca3a8cb25d152eb5ab44:

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2016-06-07 15:59:28 +0100)

are available in the git repository at:

https://github.com/stsquad/qemu.git tags/pull-travis-20160621-1

for you to fetch changes up to 23654d45f8ac08e3725831d812eb8dcf74e5a0a0:

.travis.yml: disable Sparse testing (2016-06-08 17:47:22 +0100)

Quoted 8 lines

----------------------------------------------------------------
This pull request contains:

- disable sparse testing
- add trusty build target
- add libnfs-dev for NFS block driver

These are the same patches posted last week for any last minute review.

Applied, thanks.

-- PMM