diff .travis.yml @ 7720:2de6847c3494

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.
author John Rouillard <rouilj@ieee.org>
date Wed, 27 Dec 2023 23:04:33 -0500
parents 3071db43bfb6
children 7e2552cc0b62
line wrap: on
line diff
--- a/.travis.yml	Wed Dec 27 22:52:14 2023 -0500
+++ b/.travis.yml	Wed Dec 27 23:04:33 2023 -0500
@@ -156,7 +156,7 @@
   # set up postgresql database
   - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
   - 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
+  - psql -c "CREATE DATABASE rounduptest_schema;GRANT CREATE ON DATABASE rounduptest_schema TO rounduptest_schema;" -U postgres
 
   # build the .mo translation files and install them into a tree
   # (locale/locale under roundup directory root) 

Roundup Issue Tracker: http://roundup-tracker.org/