Fix travis

This commit is contained in:
M1ha 2021-07-06 15:33:16 +05:00
parent 90b3586d62
commit f94b7e4ae9

View File

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