diff mbox series

travis: Split the OSX job

Message ID 20181108160115.20747-1-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series travis: Split the OSX job | expand

Commit Message

Philippe Mathieu-Daudé Nov. 8, 2018, 4:01 p.m. UTC
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

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .travis.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Comments

Alex Bennée Nov. 9, 2018, 12:31 p.m. UTC | #1
Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> 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
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

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?

> ---
>  .travis.yml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index aa49c7b114..827f2252b6 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -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


--
Alex Bennée
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index aa49c7b114..827f2252b6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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