From 23e8a09f5a9067dd053f7a4e706977c10b2cffc8 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 8 Jun 2020 16:47:45 -0400 Subject: [PATCH] Try this --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3abc6da6a3..65216b8e0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,6 +55,7 @@ jobs: - DoxGeneration=false - DockerBuild=false - DMAPI=false + - POSTGRESFIX=true - CONFIG=Release - TGS4_TEST_DATABASE_TYPE=PostgresSql - TGS4_TEST_CONNECTION_STRING="Application Name=tgstation-server;Port=5433;Host=127.0.0.1;Username=postgres;Password=;Database=TGS_Test" @@ -128,6 +129,11 @@ jobs: - libc6-i386 - libstdc++6:i386 +before_install: + - if [ $POSTGRESFIX = true ]; then sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf; fi + - if [ $POSTGRESFIX = true ]; then sudo service postgresql restart; fi + - if [ $POSTGRESFIX = true ]; then sleep 1; fi + install: - if [ $DoxGeneration = false ] && [ $DockerBuild = false ] && [ $DMAPI = true ]; then build/install_byond.sh; fi - if [ $DoxGeneration = false ] && [ $DockerBuild = false ] && [ $DMAPI = false ]; then dotnet restore tgstation-server.sln; fi