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