mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-22 01:09:06 +08:00
travis: use sudo during the 'install' phase
This commit is contained in:
committed by
Andrii Nakryiko
parent
1339ef70a3
commit
91e4f27dd7
@@ -153,10 +153,10 @@ jobs:
|
||||
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="cd src/"
|
||||
- COVERITY_SCAN_BUILD_COMMAND="make"
|
||||
install:
|
||||
- echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list
|
||||
- apt-get update
|
||||
- apt-get -y build-dep libelf-dev
|
||||
- apt-get install -y libelf-dev pkg-config
|
||||
- sudo echo 'deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' >>/etc/apt/sources.list
|
||||
- sudo apt-get update
|
||||
- sudo apt-get -y build-dep libelf-dev
|
||||
- sudo apt-get install -y libelf-dev pkg-config
|
||||
script:
|
||||
- set -e
|
||||
- scripts/coverity.sh
|
||||
|
||||
Reference in New Issue
Block a user