travis_ci: run tests for 4.9 kernel

Make sure that libbpf sanitizes BTF properly for older kernels.
Add a stage for 4.9.0 kernel in TravisCI.
For now make test failures non-blocking by adding 4.9.0 to `allow_failures`
section.
Blacklist is copy-pasted 5.5.0 kernel blacklist.
This commit is contained in:
Julia Kartseva
2020-07-01 11:51:46 -07:00
committed by Andrii Nakryiko
parent a2b27a1b62
commit 1b42b15b5e
3 changed files with 65 additions and 0 deletions

View File

@@ -91,6 +91,11 @@ jobs:
language: bash
script: sudo $CI_ROOT/managers/ubuntu.sh || travis_terminate 1
- name: Kernel 4.9.0 + selftests
language: bash
env: KERNEL=4.9.0
script: $CI_ROOT/vmtest/run_vmtest.sh || travis_terminate 1
- name: Kernel 5.5.0 + selftests
language: bash
env: KERNEL=5.5.0
@@ -121,3 +126,5 @@ jobs:
- sudo apt-get install -y libelf-dev pkg-config
script:
- scripts/coverity.sh || travis_terminate 1
allow_failures:
- env: KERNEL=4.9.0