-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
31 lines (27 loc) · 884 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
before_install:
- wget https://gist.github.com/petere/5893799/raw/apt.postgresql.org.sh
- wget https://gist.githubusercontent.com/parkag/c7e2bef547b3f7bf0be3/raw/install-postgres-from-source.sh
- wget https://gist.githubusercontent.com/parkag/d855d917fa6b51ca9e61/raw/test-postgres-extension.sh
- sudo sh ./apt.postgresql.org.sh
- bash ./install-postgres-from-source.sh
env:
global:
- enable_coverage=yes
- PG_PRELOAD=geqo_extension
matrix:
- PGVERSION=9.0.0
- PGVERSION=9.1.0
- PGVERSION=9.2.0
- PGVERSION=9.3.0
- PGVERSION=9.4.0
install:
- sudo pip install cpp-coveralls
- ls -la
script: bash ./test-postgres-extension.sh
after_success:
- sudo make coverage
- sudo cat lcov.info
- ls -la
- sudo chmod 777 src/* src
- coveralls --exclude lib --exclude test --exclude scripts --verbose --gcov-options '\-lp'