Fix travis

This commit is contained in:
M1ha 2021-07-06 12:08:14 +05:00
parent ae9de722c6
commit 8c3ebc7e16

View File

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