forked from projectceladon/external-libdrm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: c++
sudo: required
dist: trusty
install:
- sudo apt-get update
- sudo apt-get install automake
- sudo apt-get install autoconf
- sudo apt-get install libtool
- sudo apt-get install xutils-dev
- sudo apt-get install libpciaccess-dev
- sudo apt-get install python-mako
- sudo dpkg -s python-mako
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
- sudo apt-get install g++-4.9
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
script:
- export HWC_BUILD_DIR=/tmp/
- export WLD=/tmp/hwc-install
- export LD_LIBRARY_PATH=$WLD/lib
- export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig
- export PATH=$WLD/bin:$PATH
- export ACLOCAL_PATH=$WLD/share/aclocal
- export ACLOCAL="aclocal -I $ACLOCAL_PATH"
- export DRV_I915=1
- tar -xvf travisci/resources/libdrm-install.tar.bz2 -C $HWC_BUILD_DIR
- mkdir -p $WLD/share/aclocal
- ./autogen.sh --disable-radeon --disable-nouveau --disable-amdgpu --enable-udev --enable-libkms --prefix=$WLD
- make -j5 && make install
branches:
only:
- master