Skip to content

Commit d4bf48d

Browse files
committed
fix(ci): configure databse in travis ci
1 parent 147eaea commit d4bf48d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
language: csharp
22
dist: trusty
33
sudo: required
4+
services:
5+
- postgresql
6+
before_script:
7+
- psql -c 'create database JsonApiDotNetCoreExample;' -U postgres
48
mono: none
59
dotnet: 1.0.0-preview2-1-003177
610
script:

test/JsonApiDotNetCoreExampleTests/appsettings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Data": {
3-
"DefaultConnection": "User ID=dotnet;Password=;Host=localhost;Port=5432;Database=JsonApiDotNetCoreExampleTests;Pooling=true;"
3+
"DefaultConnection": "Host=localhost;Port=5432;Database=JsonApiDotNetCoreExample;User ID=postgres;Password="
44
},
55
"Logging": {
66
"IncludeScopes": false,

0 commit comments

Comments
 (0)