-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
26 lines (22 loc) · 834 Bytes
/
.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
language: cpp
sudo: required
dist: xenial
compiler:
- clang
- g++
before_install:
- sudo apt-get update
install:
- sudo apt-get install tree build-essential cmake pkg-config qtbase5-dev libqt5x11extras5-dev libx11-dev libxss-dev libxdamage-dev libxrandr-dev libxfixes-dev libxcb1-dev libx11-xcb-dev libxcb-randr0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-util0-dev libxcb-shm0-dev openbox-dev
script:
- export CWD=`pwd`
- mkdir $CWD/build-release
- cd $CWD/build-release
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_INSTALL_LIBEXECDIR=bin -DCMAKE_BUILD_TYPE=Release ..
- make
- make DESTDIR=`pwd`/pkg install
- tree pkg
- mkdir $CWD/build-debug
- cd $CWD/build-debug
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make