From 8c3ebc7e16c74b5e0d47154158e3be761a6eb300 Mon Sep 17 00:00:00 2001 From: M1ha Date: Tue, 6 Jul 2021 12:08:14 +0500 Subject: [PATCH] Fix travis --- .travis.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10623f8..5a603b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,18 +86,16 @@ install: before_script: # Output software versions - - cat /etc/postgresql/$PG/main/postgresql.conf | grep "port" - - service postgresql status - clickhouse-client --query "SELECT version();" - - psql -tc 'SHOW server_version' -U postgres + - psql -tc 'SHOW server_version' - - psql -tc 'SHOW server_version' -U postgres - - psql -c 'CREATE ROLE test;' -U postgres - - psql -c 'ALTER ROLE test WITH SUPERUSER;' -U postgres - - psql -c 'ALTER ROLE test WITH LOGIN;' -U postgres - - psql -c "ALTER ROLE test PASSWORD 'test';" -U postgres - - psql -c 'CREATE DATABASE test OWNER test;' -U postgres - - psql -c 'CREATE DATABASE test2 OWNER test;' -U postgres + - psql -tc 'SHOW server_version' + - psql -c 'CREATE ROLE test;' + - psql -c 'ALTER ROLE test WITH SUPERUSER;' + - psql -c 'ALTER ROLE test WITH LOGIN;' + - psql -c "ALTER ROLE test PASSWORD 'test';" + - psql -c 'CREATE DATABASE test OWNER test;' + - psql -c 'CREATE DATABASE test2 OWNER test;' script: python runtests.py