Skip to contentSkip to conversation

Travis updates

GIT PULL Applied Alex Bennée 2 participants 4 messages Feb 10, 2017

lore
Share & tools
lore
#0 lore raw

The following changes since commit 7d2c6c95511e42dffe2b263275e09957723d0ff4:

Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20170206-1' into staging (2017-02-06 11:44:08 +0000)

are available in the git repository at:

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

for you to fetch changes up to 78a22af040b8ea7c26d52755facdc332ac7bac46:

.travis.yml: split VM based builds (2017-02-10 13:19:56 +0000)

----------------------------------------------------------------
One minor fix and a build split to reduce timeouts.

----------------------------------------------------------------
Alex Bennée (2):
.travis.yml: don't specify CONFIG twice
.travis.yml: split VM based builds

 .travis.yml | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)
Signature · 1 line
2.11.0
#1 lore raw

[Qemu-devel] [PULL 1/2] .travis.yml: don't specify CONFIG twice

---
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
.travis.yml +1 -2
index d83e2d493b..3dc1e6439d 100644
@@ -104,8 +104,7 @@ matrix:
         - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
         - git submodule update --init --recursive
     # Trusty build with latest stable clang
-    - env: CONFIG=""
-      sudo: required
+    - sudo: required
       addons:
       dist: trusty
       language: generic
Signature · 1 line
2.11.0
#2 lore raw

[Qemu-devel] [PULL 2/2] .travis.yml: split VM based builds

In reply to Alex Bennée

The Trusty based builds run a little slower than the main container based ones. This is also true for the latest version of Clang. The builds are getting very close (and occasionally run over) the 50 minute timeout. Rather than partitioning by target I just split them into linux-user and system builds.

---
 .travis.yml | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)
.travis.yml +34 -4
index 3dc1e6439d..9008a796f0 100644
@@ -92,8 +92,19 @@ matrix:
     - env: CONFIG=""
       os: osx
       compiler: clang
-    # Plain Trusty Build
-    - env: CONFIG=""
+    # Plain Trusty System Build
+    - env: CONFIG="--disable-linux-user"
+      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
+    # Plain Trusty Linux User Build
+    - env: CONFIG="--disable-system"
       sudo: required
       addons:
       dist: trusty
@@ -103,7 +114,26 @@ matrix:
         - 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
-    # Trusty build with latest stable clang
+    # Trusty System build with latest stable clang
+    - sudo: required
+      addons:
+      dist: trusty
+      language: generic
+      compiler: none
+      env:
+        - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
+        - CONFIG="--disable-linux-user --cc=clang-3.9 --cxx=clang++-3.9"
+      before_install:
+        - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
+        - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
+        - sudo apt-get update -qq
+        - sudo apt-get install -qq -y clang-3.9
+        - 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
+      before_script:
+        - ./configure ${CONFIG} || cat config.log
+    # Trusty Linux User build with latest stable clang
     - sudo: required
       addons:
       dist: trusty
@@ -111,7 +141,7 @@ matrix:
       compiler: none
       env:
         - COMPILER_NAME=clang CXX=clang++-3.9 CC=clang-3.9
-        - CONFIG="--cc=clang-3.9 --cxx=clang++-3.9"
+        - CONFIG="--disable-system --cc=clang-3.9 --cxx=clang++-3.9"
       before_install:
         - wget -nv -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
         - sudo apt-add-repository -y 'deb http://llvm.org/apt/trusty llvm-toolchain-trusty-3.9 main'
Signature · 1 line
2.11.0
#3 lore raw
In reply to Alex Bennée
Quoted 15 lines · Alex Bennée

The following changes since commit 7d2c6c95511e42dffe2b263275e09957723d0ff4:

Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20170206-1' into staging (2017-02-06 11:44:08 +0000)

are available in the git repository at:

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

for you to fetch changes up to 78a22af040b8ea7c26d52755facdc332ac7bac46:

.travis.yml: split VM based builds (2017-02-10 13:19:56 +0000)

----------------------------------------------------------------
One minor fix and a build split to reduce timeouts.

Quoted 7 lines

----------------------------------------------------------------
Alex Bennée (2):
.travis.yml: don't specify CONFIG twice
.travis.yml: split VM based builds

 .travis.yml | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)

Applied, thanks.

-- PMM