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: env:
global: global:
- PGPORT=5432 - PGPORT=5432
- PGUSER=travis - PGUSER=postgres
jobs: jobs:
- PG=9.6 DJANGO=2.1 - PG=9.6 DJANGO=2.1
- PG=10 DJANGO=2.1 - PG=10 DJANGO=2.1
@ -91,15 +91,15 @@ install:
before_script: before_script:
# Output software versions # Output software versions
- clickhouse-client --query "SELECT version();" - clickhouse-client --query "SELECT version();"
- psql -tc 'SHOW server_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;' - psql -c 'CREATE ROLE test;' -U postgres
- psql -c 'ALTER ROLE test WITH SUPERUSER;' - psql -c 'ALTER ROLE test WITH SUPERUSER;' -U postgres
- psql -c 'ALTER ROLE test WITH LOGIN;' - psql -c 'ALTER ROLE test WITH LOGIN;' -U postgres
- psql -c "ALTER ROLE test PASSWORD 'test';" - psql -c "ALTER ROLE test PASSWORD 'test';" -U postgres
- psql -c 'CREATE DATABASE test OWNER test;' - psql -c 'CREATE DATABASE test OWNER test;' -U postgres
- psql -c 'CREATE DATABASE test2 OWNER test;' - psql -c 'CREATE DATABASE test2 OWNER test;' -U postgres
script: script:
python runtests.py python runtests.py