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