mirror of https://github.com/status-im/qzxing.git
Update travis to use ubuntu 16.04 (xenial) (#119)
* Update travis to use ubuntu 16.04 (xenial) Update travis to use ubuntu 16.04 (xenial) instead of 14.04 (trusty) * add xvfb as a service to xenial distribution * removed explicit start of xvfb after adding the xvfb as a service, there is no reason to explicitly start it at "before_install" * install libGL during before_install * install libgl1-mesa-dev during "before_install"
This commit is contained in:
parent
8ec5464e78
commit
024d1e26b7
|
@ -1,7 +1,10 @@
|
|||
#Author: KangLin(kl222@126.com)
|
||||
|
||||
sudo: required
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
|
||||
services:
|
||||
- xvfb
|
||||
|
||||
language: cpp
|
||||
|
||||
|
@ -34,7 +37,7 @@ env:
|
|||
before_install:
|
||||
- echo "TRAVIS_OS_NAME=${TRAVIS_OS_NAME}"
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
- sudo apt-get install -y libgl1-mesa-glx libgl1-mesa-dev
|
||||
|
||||
install:
|
||||
- bash ${TRAVIS_BUILD_DIR}/ci/build-install-tools.sh #> /dev/null
|
||||
|
|
Loading…
Reference in New Issue