travis-ci: flatten build stages to gain more speed ups

Do both builds and selftest runs as part of a single build step. This would
allow to complete CI testing faster, as builds will happen in parallel with
"Kernel LATEST + selftests" run.

Also re-enable s390x build.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
Andrii Nakryiko
2020-08-10 22:12:02 -07:00
committed by Andrii Nakryiko
parent c57be0b4d6
commit e954437a76

View File

@@ -35,7 +35,7 @@ stages:
jobs:
include:
- stage: Kernel Selftests
- stage: Builds & Tests
name: Kernel LATEST + selftests
language: bash
env: KERNEL=LATEST
@@ -51,8 +51,7 @@ jobs:
env: KERNEL=5.5.0
script: $CI_ROOT/vmtest/run_vmtest.sh || travis_terminate 1
- stage: Builds
name: Debian Build
- name: Debian Build
language: bash
install: $CI_ROOT/managers/debian.sh SETUP
script: $CI_ROOT/managers/debian.sh RUN || travis_terminate 1
@@ -97,10 +96,10 @@ jobs:
language: bash
script: sudo $CI_ROOT/managers/ubuntu.sh || travis_terminate 1
# - name: Ubuntu Bionic Build (s390x)
# arch: s390x
# language: bash
# script: sudo $CI_ROOT/managers/ubuntu.sh || travis_terminate 1
- name: Ubuntu Bionic Build (s390x)
arch: s390x
language: bash
script: sudo $CI_ROOT/managers/ubuntu.sh || travis_terminate 1
- name: Ubuntu Bionic Build (ppc64le)
arch: ppc64le