forked from pipelinedb/pipelinedb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (23 loc) · 1007 Bytes
/
circle.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
machine:
pre:
# Use GCC and G++ 4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
dependencies:
pre:
- sudo apt-get update
- wget https://gist.githubusercontent.com/derekjn/0edd5e4f6c0411b5582131c54b4fca34/raw/e1af775732655fe59474717b6a134ac14f32b880/install_zmq.sh
- sudo sh install_zmq.sh
post:
- ./configure CFLAGS="-O0" --prefix=/home/ubuntu/pdb --enable-cassert
- sudo pip install -r src/test/py/requirements.txt
- make
- make install
test:
override:
- make -s check
post:
- if [ -e "src/test/regress/regression.diffs" ]; then cat src/test/regress/regression.diffs; fi
- if [ -e "src/test/regress/regression.diffs" ]; then cat src/test/regress/log/postmaster.log; fi
- (! grep -A 100 -B 10 "segfault at:" src/test/regress/log/postmaster.log)
- (! grep -A 100 -B 10 "assertion failure at:" src/test/regress/log/postmaster.log)