diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2018-03-07 11:12:05 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-03-13 09:01:08 +0800 |
commit | 2312d2c49d3fca3e10463a156be252b12637a603 (patch) | |
tree | b0d3dac973161ca408ffbe00cccf993060204d80 /.travis.yml | |
parent | 274306a579f36293a946c39a9c577304b3366eaa (diff) | |
download | libva-intel-driver-2312d2c49d3fca3e10463a156be252b12637a603.tar.gz |
Update .travis.yml
Like what we did in commit 14a2088 for libva, the corresponding fix is
also required for this driver to avoid locking dpkg file by an
unattended `apt-get` call
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 23f323d6..b0d5f499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,12 @@ env: before_install: - test "${TRAVIS_BRANCH}" != 'coverity_scan' -o "${TRAVIS_JOB_NUMBER##*.}" = '1' || exit 0 - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- + - | + sudo systemctl stop apt-daily.service && + sudo systemctl kill --kill-who=all apt-daily.service && + while ! (systemctl list-units --all apt-daily.service | fgrep -q dead) ; do + sleep 1 + done - pip install --user cpp-coveralls - sudo apt-get -qq update - sudo apt-get install -y build-essential |