1
1
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:
secwall 2017-12-02 22:13:41 +03:00
parent bab18b983d
commit 2ca64cb340
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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