-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
49 lines (47 loc) · 1.49 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: cpp
dist: xenial # используем Ubuntu Xenial 16.04
sudo: required # используем Virtual Machine (а не Docker container)
compiler:
# ... и с помощью g++, и Clang
- g++
- clang
addons:
apt:
packages:
- libglew-dev
- freeglut3-dev
- libxi-dev
- libxmu-dev
- xserver-xorg-video-dummy
- xpra
- xorg-dev
- opencl-headers
- libgl1-mesa-dev
- libxcursor-dev
- libpulse-dev
- libxinerama-dev
- libxrandr-dev
- libxv-dev
- libasound2-dev
- libudev-dev
- mesa-utils
- libgl1-mesa-glx
- libqt5opengl5
- libfftw3-dev
- libfftw3-double3
- libfftw3-single3
# установка необходимых зависимостей
# версию qt выбирается исходя https://launchpad.net/~beineri
before_install:
- sudo add-apt-repository ppa:beineri/opt-qt-5.11.0-xenial -y
- sudo add-apt-repository -y ppa:oibaf/graphics-drivers
- sudo apt-get update -qq
- sudo apt-get install libusb-1.0-0-dev
- export DEBIAN_FRONTEND=noninteractive
- sudo apt-get -yq --force-yes install libgl1-mesa-dev libgl1-mesa-glx mesa-common-dev libglapi-mesa libgbm1 libgl1-mesa-dri libxatracker-dev xvfb
install:
- sudo apt-get install qt511base qt511charts-no-lgpl qt511xmlpatterns
- source /opt/qt511/bin/qt511-env.sh
script:
- /opt/qt511/bin/qmake PREFIX=/usr
- make