Skip to content

Commit 50bd772

Browse files
authored
Merge pull request citusdata#1 from citusdata/add_newest_pg_versions
Update Travis to build on latest PostgreSQL versions cr: nobody
2 parents eec969b + a46aaa0 commit 50bd772

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1+
sudo: required
2+
dist: trusty
13
language: c
2-
34
env:
45
- PGVERSION=9.1
56
- PGVERSION=9.2
67
- PGVERSION=9.3
7-
8+
- PGVERSION=9.4
9+
- PGVERSION=9.5
810
before_script:
911
- export PATH=/usr/lib/postgresql/$PGVERSION/bin:$PATH # Add our chosen PG version to the path
1012
- sudo /etc/init.d/postgresql stop # Stop whichever version of PG that travis started
1113
- sudo /etc/init.d/postgresql start $PGVERSION # Start the version of PG that we want to test
14+
- sudo apt-get update -qq # Retrieves new list of packages
1215
- sudo apt-get install postgresql-server-dev-$PGVERSION # Required for PGXS
1316
- sudo apt-get install postgresql-common # Required for extension support files
1417
- createdb hll_regress # Create the test database
15-
1618
script:
1719
- make && sudo make install
1820
- psql -c "create extension hll" hll_regress
1921
- make -C regress
20-

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Compatibility
361361

362362
This module has been tested on:
363363

364-
* **Postgres 9.0, 9.1, 9.2, 9.3**
364+
* **Postgres 9.0, 9.1, 9.2, 9.3, 9.4**
365365

366366
If you end up needing to change something to get this running on another system, send us the diff and we'll try to work it in!
367367

regress/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ clean:
5353
else \
5454
PGOPTIONS=$(PGOPTIONS) $(PSQL) $(PSQLOPTS) $(TEST_DB) -f $*.sql > $*.out 2>&1; \
5555
fi
56-
@diff -u $*.ref $*.out >> $*.diff || status=1
56+
@diff -u -I "^COPY.*" $*.ref $*.out >> $*.diff || status=1
5757
@if test -s $*.diff; then \
5858
echo " .. FAIL"; \
5959
else \

0 commit comments

Comments
 (0)