forked from cmu-db/peloton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (49 loc) · 1.25 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
51
52
sudo: required
dist: trusty
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- g++-4.9
env: CXX=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- boost-latest
packages:
- g++-5
env: CXX=g++-5
before_script:
# setup environment
- ./script/installation/packages.sh
- pip install --user cpp-coveralls
script:
# first, run source_validator
- python ./script/validators/source_validator.py
# create build directory
- mkdir build
- cd build
# run cmake
- cmake -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
# build
- make -j4
# run tests
- make check -j4
# build benchmarks
- make benchmark -j4
# install peloton
- make install
# run psql tests
# FIXME: Need to fix this for jenkins
# - bash ../script/testing/psql/psql_test.sh
# run jdbc tests
- python ../script/validators/jdbc_validator.py
# upload coverage info
- make coveralls