Skip to content

Commit 5b817fa

Browse files
committed
Update .travis.yml
Like what we did in commit 14a2088 for libva, the corresponding fix is also required for libva-utils to avoid locking dpkg file by an unattended `apt-get` call Signed-off-by: Haihao Xiang <[email protected]>
1 parent 3532d7e commit 5b817fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ env:
1616
before_install:
1717
- test "${TRAVIS_BRANCH}" != 'coverity_scan' -o "${TRAVIS_JOB_NUMBER##*.}" = '1' || exit 0
1818
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
19+
- |
20+
sudo systemctl stop apt-daily.service &&
21+
sudo systemctl kill --kill-who=all apt-daily.service &&
22+
while ! (systemctl list-units --all apt-daily.service | fgrep -q dead) ; do
23+
sleep 1
24+
done
1925
- pip install --user cpp-coveralls
2026
- sudo apt-get -qq update
2127
- sudo apt-get install -y build-essential

0 commit comments

Comments
 (0)