Skip to contentSkip to conversation

travis: Split the OSX job

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Nov 8, 2018 – Nov 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis: Split the OSX job

The current OSX job often reach the 50min Travis-CI time limit.

Split it in two jobs, which as of this commit took:
- system: ~39min
- user: ~9min

---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
.travis.yml +5 -1
index aa49c7b114..827f2252b6 100644
@@ -107,7 +107,11 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""
       compiler: gcc
-    - env: CONFIG=""
+    # OSX builds
+    - env: CONFIG="--disable-user"
+      os: osx
+      compiler: clang
+    - env: CONFIG="--disable-system --disable-tools --disable-docs --disable-guest-agent"
       os: osx
       compiler: clang
     # Python builds
Signature · 1 line
2.17.2
#1 lore raw
Quoted 7 lines · Philippe Mathieu-Daudé

The current OSX job often reach the 50min Travis-CI time limit.

Split it in two jobs, which as of this commit took:
- system: ~39min
- user: ~9min

I suggested a different split in:

https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg01695.html

Does a user build actually build anything we can run?

Quoted 11 lines
---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
.travis.yml +0 -0
index aa49c7b114..827f2252b6 100644
@@ -107,7 +107,11 @@ matrix:
     - env: CONFIG="--disable-tcg"
            TEST_CMD=""

.travis.yml matrix: · line 117

Quoted 10 lines
.travis.yml +5 -1
       compiler: gcc
-    - env: CONFIG=""
+    # OSX builds
+    - env: CONFIG="--disable-user"
+      os: osx
+      compiler: clang
+    - env: CONFIG="--disable-system --disable-tools --disable-docs --disable-guest-agent"
       os: osx
       compiler: clang
     # Python builds

--
Alex Bennée