-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
49 lines (44 loc) · 1.38 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
# reduce clone time by only getting the latest commit and not the whole history (default for travis is 100)
git:
depth: 1
# only run travis on the master branch
branches:
only:
- master
# do not build with clang until fixed
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libbz2-dev libncurses5-dev libmysqlclient-dev libreadline-dev libsdl1.2-dev libssl-dev zlib1g-dev libace-dev
script:
- cd dep/libmpq/
- ./autogen.sh
- ./configure && make
- cd ../../contrib/extractor/
- test -d _build || mkdir _build
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Debug ..
- make -j4
- cd ../../vmap_assembler/
- test -d _build || mkdir _build
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Debug ..
- make -j4
- cd ../../vmap_extractor/
- test -d _build || mkdir _build
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Debug ..
- make -j4
- cd ../../mmap/
- test -d _build || mkdir _build
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Debug ..
- make -j4
- cd ../../../
- test -d _build || mkdir _build
- test -d _install || mkdir _install
- cd _build
- cmake -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Debug -DDEBUG=1 -DPCH=1 -DUSE_STD_MALLOC=1 -DACE_USE_EXTERNAL=1 ..
- make -j4