Skip to content

Commit

Permalink
Add postgres service
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Jan 27, 2018
1 parent 1c81f7b commit 7ce6de8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ environment:
COMPILER: MinGW 6
BINDIR: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin

init: []
services:
- postgresql96

init:
- set PGUSER=postgres
- set PGPASSWORD=Password12!
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- createdb taocpp

install: []

Expand All @@ -50,6 +57,7 @@ before_build:
- md build
- cd build
- cmake -Wno-dev --config "%CONFIGURATION%" -G "%GENERATOR%" ..
- set TAO_TEST_DATABASE="dbname=taocpp host=localhost user=postgres password=Password12!"

build_script:
- cmake --build . --config "%CONFIGURATION%"
Expand Down

0 comments on commit 7ce6de8

Please sign in to comment.