Skip to content

Commit 6b4b0ad

Browse files
committed
use project's own installation scripts
1 parent 3421591 commit 6b4b0ad

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ python:
1919

2020
before_install:
2121
- packages="postgresql-$PGVERSION postgresql-server-dev-$PGVERSION postgresql-common"
22-
- wget https://raw.githubusercontent.com/postgrespro/pg_pathman/master/travis/apt.postgresql.org.sh
23-
- sudo sh ./apt.postgresql.org.sh
22+
- sudo sh ./travis/dep-ubuntu-postgres.sh
2423

2524
install:
2625
- sudo apt-get update

testgres/tests/test_simple.py

100755100644
File mode changed.

travis/dep-ubuntu-postgres.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
cat ./travis/postgresql.gpg.key | sudo apt-key add -
4+
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main $PG_VER" | sudo tee /etc/apt/sources.list.d/pgdg.list

0 commit comments

Comments
 (0)