Skip to content

Commit e5d7b24

Browse files
author
phasenraum2010
committed
fixed #43
1 parent 7a6cd6d commit e5d7b24

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ before_install:
2222
- sudo /etc/init.d/postgresql stop
2323
- sudo /etc/init.d/postgresql start 10
2424
before_script:
25-
- psql -c "CREATE USER travistest WITH PASSWORD 'travistestpwd' LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;" -U postgres
26-
- psql -c 'GRANT pg_signal_backend, postgres TO travistest WITH ADMIN OPTION;' -U postgres
27-
- psql -c "CREATE DATABASE travistest WITH OWNER = travistest TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'de_DE.UTF-8' LC_CTYPE = 'de_DE.UTF-8' CONNECTION LIMIT = -1;" -U postgres
28-
- psql -c '\l' -U postgres
29-
- psql -c '\dg' -U postgres
30-
- psql -c '\dn' -U postgres
31-
- psql -c 'select * from version();' -U postgres
32-
- psql -c 'select * from version();' -U travistest
25+
- sleep 15
26+
- psql -U postgres -c "CREATE USER travistest WITH PASSWORD 'travistestpwd' LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE NOREPLICATION;"
27+
- psql -U postgres -c 'GRANT pg_signal_backend, postgres TO travistest WITH ADMIN OPTION;'
28+
- psql -U postgres -c "CREATE DATABASE travistest WITH OWNER = travistest TEMPLATE = template0 ENCODING = 'UTF8' LC_COLLATE = 'de_DE.UTF-8' LC_CTYPE = 'de_DE.UTF-8' CONNECTION LIMIT = -1;"
29+
- psql -U postgres -c '\l'
30+
- psql -U postgres -c '\dg'
31+
- psql -U postgres -c '\dn'
32+
- psql -U postgres -c 'select * from version();'
33+
- psql -U travistest -c 'select * from version();'
3334
sudo: false
3435
script: ./mvnw clean install jbake:generate site site:deploy -Ptravis -B -V

0 commit comments

Comments
 (0)