OSDN Git Service

Update .travis.yml
authorHaihao Xiang <haihao.xiang@intel.com>
Mon, 26 Feb 2018 07:26:05 +0000 (15:26 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 2 Mar 2018 00:27:06 +0000 (08:27 +0800)
commit14a2088ed161cb9165c552cc65efde028d1bb8f9
treef5beac841da0cb95b1904885b007989d4913e7e3
parentb2fdaf4eb465269656417eb03699ea47d0e532bd
Update .travis.yml

The travis build is often blocked by the following error

  $ sudo apt-get install -y build-essential
  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
temporarily unavailable)

Feedback from travis is the dpkg lock file might be locked by an
unattended `apt-get` call that's running in the background on a daily
basis and travis suggests adding the corresponding snippet before
apt-get call in .travis.yml

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
.travis.yml