forked from cmu-db/peloton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (30 loc) · 789 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
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
- boost-latest
packages:
- gcc-4.8
- g++-4.8
before_script:
# setup environment
- sudo -H sh ./scripts/installation/packages.sh
- export PATH=/usr/local/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
script:
# first, run validator
- python ./scripts/validators/validator.py
# bootstrap
- ./bootstrap
- cd build
- ../configure CXXFLAGS="-O0"
- make
- cd tests; make check-valgrind; cd ..;
- sudo make install
- ../scripts/oltpbenchmark/test_peloton.sh