forked from pgpointcloud/pointcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 971 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
language: c
dist: trusty
before_install:
- sudo apt-get update
- sudo apt-get install -q postgresql-server-dev-9.6 libcunit1-dev valgrind
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
- sh .install-lazperf.sh
- npm install -g eclint@1.1.5
addons:
postgresql: "9.6" # for "installcheck"
apt:
packages:
- postgresql-9.6-postgis-2.4
# Note: Valgrind currently reports many problems when libght is enabled. So for
# now, and until the problems are fixed, we just run the unit tests with libght
# enabled.
script:
- eclint check * */* */cunit/*
- ./tools/build-install.sh # test compilation without lazperf
- ./tools/build-install.sh --with-lazperf=/usr/local && make check && ./tools/valgrind.sh
- make installcheck || { cat pgsql/regression.diffs && false; }
- (cd tools/benchmark_compression && sh compression_benchmark.sh)