-
Notifications
You must be signed in to change notification settings - Fork 172
/
.travis.yml
43 lines (42 loc) · 940 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
34
35
36
37
38
39
40
41
42
43
sudo: required
dist: bionic
language: c
cache:
apt: true
directories:
- /home/travis/postgresql
env:
global:
- enable_coverage=yes
- PG_PRELOAD=cstore_fdw
matrix:
- PGVERSION=9.3
- PGVERSION=9.4
- PGVERSION=9.5
- PGVERSION=9.6
- PGVERSION=10
- PGVERSION=11
- PGVERSION=12
- PGVERSION=13
before_install:
- git clone -b v0.7.13 --depth 1 https://github.com/citusdata/tools.git
- sudo make -C tools install
- setup_apt
- nuke_pg
install:
- sudo apt-get install protobuf-c-compiler
- sudo apt-get install libprotobuf-c0-dev
- sudo locale-gen da_DK
- sudo locale-gen da_DK.utf8
- sudo pip install cpp-coveralls
- install_pg
- install_custom_pg
before_script:
- chmod 777 .
- chmod 777 data
- chmod 666 data/*
- config_and_start_cluster
script: pg_travis_test
after_success:
- sudo chmod 666 *.gcda
- coveralls --exclude cstore.pb-c.c --exclude cstore.pb-c.h