forked from pipelinedb/pipelinedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
30 lines (25 loc) · 942 Bytes
/
circle.yml
File metadata and controls
30 lines (25 loc) · 942 Bytes
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
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
environment:
iamcircle: true
dependencies:
pre:
- sudo apt-get update
- sudo apt-get install check
- sudo apt-get install libncurses-dev
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)