libbpf: fix Coverity scan CI

A follow up of [1]
Travis CI stages use default phases when no override provided.
This leads to Coverity scan stage fail due to execuing the default
before_script: phase of VMTEST.
Fix this with an explicit override with empty value.

[1] https://github.com/libbpf/libbpf/pull/108
This commit is contained in:
hex
2019-12-17 15:34:02 -08:00
committed by Andrii Nakryiko
parent 76d5bb6a13
commit 7a1d185108

View File

@@ -51,12 +51,12 @@ jobs:
env:
- DEBIAN_RELEASE="testing"
- CONT_NAME="libbpf-debian-$DEBIAN_RELEASE"
# Override before_install: so VMTEST before_install commands are not executed.
before_install:
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
- docker --version
install:
- $CI_MANAGERS/debian.sh SETUP
# Override before_script: so VMTEST before_install commands are not executed.
before_script:
script:
- $CI_MANAGERS/debian.sh RUN || travis_terminate
@@ -188,5 +188,7 @@ jobs:
- sudo apt-get update
- sudo apt-get -y build-dep libelf-dev
- sudo apt-get install -y libelf-dev pkg-config
# Override before_script: so VMTEST before_script commands are not executed.
before_script:
script:
- scripts/coverity.sh || travis_terminate