diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2019-08-05 15:26:02 +0300 |
---|---|---|
committer | Ilya Maximets <i.maximets@samsung.com> | 2019-08-15 13:58:38 +0300 |
commit | 2581b0ad11591afef7bcebeb5483e53d9d403fef (patch) | |
tree | 186b46c9c8f6b06471d6b5ee93feb442d4a04e66 /.travis.yml | |
parent | 7654a3ed0b38a985da7b1e6e436ffdb0fdb24b5a (diff) | |
download | openvswitch-2581b0ad11591afef7bcebeb5483e53d9d403fef.tar.gz |
travis: Combine kernel builds.
Single kernel build job takes ~3 minutes in average. Most of
this time takes VM spawning and initial configuration.
Combining these 24 jobs in 4 allows us to better utilize workers
and not waste time on spawning VMs.
Before:
24 jobs * 3 minutes = 72 minutes
72 minutes / 5 workers = 14.4 minutes / worker
After:
4 jobs * 10 minutes = 40 minutes
40 minutes / 4 workers = 10 minutes / worker
+ 1 free worker that able to run other jobs at the same time.
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml index 7fe4bfacf..370b3d0a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,24 +34,14 @@ env: - OPTS="--disable-ssl" - TESTSUITE=1 KERNEL=3.16 - TESTSUITE=1 OPTS="--enable-shared" + - TESTSUITE=1 DPDK=1 + - TESTSUITE=1 LIBS=-ljemalloc + - KERNEL_LIST="5.0 4.20 4.19 4.18 4.17 4.16" + - KERNEL_LIST="4.15 4.14 4.9 4.4 3.19 3.16" - BUILD_ENV="-m32" OPTS="--disable-ssl" - DPDK=1 OPTS="--enable-shared" - - TESTSUITE=1 DPDK=1 - DPDK_SHARED=1 - DPDK_SHARED=1 OPTS="--enable-shared" - - KERNEL=5.0 - - KERNEL=4.20 - - KERNEL=4.19 - - KERNEL=4.18 - - KERNEL=4.17 - - KERNEL=4.16 - - KERNEL=4.15 - - KERNEL=4.14 - - KERNEL=4.9 - - KERNEL=4.4 - - KERNEL=3.19 - - KERNEL=3.16 - - TESTSUITE=1 LIBS=-ljemalloc matrix: include: |