-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
50 lines (40 loc) · 1.16 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
50
language: cpp
compiler:
- gcc
env:
- BUILD_MODE=debug
- BUILD_MODE=release
before_install:
# support c++11
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# latest boost
- sudo add-apt-repository -y ppa:boost-latest/ppa
# update everything now
- sudo apt-get update -qq
install:
# stuff needed by us
- sudo apt-get install -qq scons
- sudo apt-get install -qq libdw-dev
# stuff needed by Babeltrace
- sudo apt-get install -qq libtool
- sudo apt-get install -qq autoconf
- sudo apt-get install -qq libglib2.0-dev
- sudo apt-get install -qq bison
- sudo apt-get install -qq flex
- sudo apt-get install -qq uuid-dev
- sudo apt-get install -qq libpopt-dev
# stuff needed by tigerbeetle
- sudo apt-get install --force-yes -qq g++-4.8
- sudo apt-get install -qq pkg-config
- sudo apt-get install -qq libcppunit-dev
- sudo apt-get install -qq boost1.55
- sudo apt-get install -qq libboost1.55-dev
# libelf, for symbols
- sudo apt-get install -qq libelf-dev
- sudo apt-get install -qq libdw-dev
script:
- export CXX=g++-4.8
- ./bootstrap.sh
- source ./setenv.sh
- scons mode=$BUILD_MODE
- ./src/test/unittests