sudo -u postgres
@@ -34,12 +34,12 @@ cache:
- $HOME/.m2
before_script:
- - psql -c "CREATE USER eris WITH password 'discord';" -U postgres
- - psql -c "create database cia_dev" -U postgres
- - psql -c "GRANT ALL PRIVILEGES ON DATABASE cia_dev to eris;" -U postgres
- - psql -U postgres -c "create extension pgcrypto" cia_dev
- - psql -U postgres -c "create extension pgaudit" cia_dev
- - psql -U postgres -c "create extension pg_stat_statements" cia_dev
+ - sudo -u postgres psql -c "CREATE USER eris WITH password 'discord';" -U postgres
+ - sudo -u postgres psql -c "create database cia_dev" -U postgres
+ - sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE cia_dev to eris;" -U postgres
+ - sudo -u postgres psql -U postgres -c "create extension pgcrypto" cia_dev
+ - sudo -u postgres psql -U postgres -c "create extension pgaudit" cia_dev
+ - sudo -u postgres psql -U postgres -c "create extension pg_stat_statements" cia_dev
script:
- cp parent-pom/toolchain/toolchains.xml $HOME/.m2/toolchains.xml
