forked from cmu-db/peloton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (37 loc) · 854 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
language: cpp
compiler:
- g++
install:
# get c++11 support
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
# setup environment
- sudo -H sh ./scripts/installation/packages.sh
- export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
- export PATH=/usr/local/peloton/bin/:$PATH
script:
# bootstrap
- ./bootstrap
- cd build
- ../configure --enable-debug
# make
- make -j4
# debugging
- ls -larth /usr/local
- ls -larth /usr/local/lib
- echo $LD_LIBRARY_PATH
- echo $PATH
- cd tests
- make check-build -j4
- ldd ./tuple_test
- ldd ./pair_test
- cd ..
# run tests
- sudo make check