From f94b7e4ae913cfbb5cc51aeea6a2e307a6b3a4cf Mon Sep 17 00:00:00 2001 From: M1ha Date: Tue, 6 Jul 2021 15:33:16 +0500 Subject: [PATCH] Fix travis --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31fc531..68de0c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ python: env: global: - PGPORT=5432 - - PGUSER=travis + - PGUSER=postgres jobs: - PG=9.6 DJANGO=2.1 - PG=10 DJANGO=2.1 @@ -91,15 +91,15 @@ install: before_script: # Output software versions - clickhouse-client --query "SELECT version();" - - psql -tc 'SHOW server_version' + - psql -tc 'SHOW server_version' -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;' + - 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 script: python runtests.py