mirror of
https://github.com/yandex/pgmigrate.git
synced 2024-09-11 04:15:28 +03:00
Move to postgresql 10 in tests
This commit is contained in:
parent
bab18b983d
commit
2ca64cb340
@ -12,7 +12,7 @@ ENV LANG en_US.utf8
|
||||
|
||||
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
|
||||
|
||||
ENV PG_MAJOR 9.6
|
||||
ENV PG_MAJOR 10
|
||||
|
||||
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
|
||||
|
||||
|
@ -5,6 +5,6 @@ set -e
|
||||
chown -R postgres:postgres /dist
|
||||
mkdir -p /var/log/pogsgresql
|
||||
chown postgres:postgres /var/log/pogsgresql
|
||||
sudo -u postgres /usr/lib/postgresql/9.6/bin/pg_ctl -D /etc/postgresql/9.6/main -l /var/log/pogsgresql/postgresql-9.6-main.log start
|
||||
sudo -u postgres /usr/lib/postgresql/10/bin/pg_ctl -D /etc/postgresql/10/main -l /var/log/pogsgresql/postgresql-10-main.log start
|
||||
cd /dist
|
||||
sudo -u postgres -i tox -c /dist/tox.ini
|
||||
|
Loading…
Reference in New Issue
Block a user