This commit is contained in:
Jordan Brown
2020-06-08 16:47:45 -04:00
parent 45c9bd2c00
commit 23e8a09f5a
+6
View File
@@ -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