mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-05 16:19:06 +08:00
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:
@@ -51,12 +51,12 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
- DEBIAN_RELEASE="testing"
|
- DEBIAN_RELEASE="testing"
|
||||||
- CONT_NAME="libbpf-debian-$DEBIAN_RELEASE"
|
- CONT_NAME="libbpf-debian-$DEBIAN_RELEASE"
|
||||||
# Override before_install: so VMTEST before_install commands are not executed.
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
||||||
- docker --version
|
- docker --version
|
||||||
install:
|
install:
|
||||||
- $CI_MANAGERS/debian.sh SETUP
|
- $CI_MANAGERS/debian.sh SETUP
|
||||||
|
# Override before_script: so VMTEST before_install commands are not executed.
|
||||||
before_script:
|
before_script:
|
||||||
script:
|
script:
|
||||||
- $CI_MANAGERS/debian.sh RUN || travis_terminate
|
- $CI_MANAGERS/debian.sh RUN || travis_terminate
|
||||||
@@ -188,5 +188,7 @@ jobs:
|
|||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get -y build-dep libelf-dev
|
- sudo apt-get -y build-dep libelf-dev
|
||||||
- sudo apt-get install -y libelf-dev pkg-config
|
- sudo apt-get install -y libelf-dev pkg-config
|
||||||
|
# Override before_script: so VMTEST before_script commands are not executed.
|
||||||
|
before_script:
|
||||||
script:
|
script:
|
||||||
- scripts/coverity.sh || travis_terminate
|
- scripts/coverity.sh || travis_terminate
|
||||||
|
|||||||
Reference in New Issue
Block a user