forked from opentibiabr/otservbr-global-archived
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (44 loc) · 881 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dist: bionic
language: cpp
jobs:
include:
- #dist: bionic
compiler: gcc
os: linux
- #dist: bionic
compiler: clang
os: linux
- dist: xenial
compiler: gcc
os: linux
- dist: xenial
compiler: clang
os: linux
compiler:
- clang
- gcc
env:
jobs:
- BUILD_TYPE=Debug LUAJIT=OFF
- BUILD_TYPE=Debug LUAJIT=ON
- BUILD_TYPE=Release LUAJIT=OFF
- BUILD_TYPE=Release LUAJIT=ON
cache: apt
addons:
apt:
packages:
- libboost-dev
- libboost-system-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libcrypto++-dev
- liblua5.2-dev
- libluajit-5.1-dev
- libmysqlclient-dev
- libpugixml-dev
- libgmp3-dev
- libspdlog-dev
before_script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DUSE_LUAJIT=${LUAJIT} ..
script: make -j`nproc`