Skip to content

Commit 62fa92f

Browse files
committed
chore: fix ci taml formatting.
Travis failed with: The command "psql -c "CREATE ROLE rounduptest_schema LOGIN PASSWORD 'rounduptest';" -U postgres - psql -c "CREATE DATABASE rounduptest_schema;GRANT CREATE ON DATABASE rounduptest_schema TO rounduptest_schema;" -U postgres" failed and exited with 2 during . Looks like there was a third leading space that casued two lines to get joined. Github failed with: ERROR: CREATE DATABASE cannot run inside a transaction block The create db and grant command when run together worked for me. Maybe a db difference? Split the two commands into separate psql calls.
1 parent bcbf7ef commit 62fa92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ before_script:
156156
# set up postgresql database
157157
- psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
158158
- psql -c "CREATE ROLE rounduptest_schema LOGIN PASSWORD 'rounduptest';" -U postgres
159-
- psql -c "CREATE DATABASE rounduptest_schema;GRANT CREATE ON DATABASE rounduptest_schema TO rounduptest_schema;" -U postgres
159+
- psql -c "CREATE DATABASE rounduptest_schema;GRANT CREATE ON DATABASE rounduptest_schema TO rounduptest_schema;" -U postgres
160160

161161
# build the .mo translation files and install them into a tree
162162
# (locale/locale under roundup directory root)

0 commit comments

Comments
 (0)