forked from taocpp/taopq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
52 lines (41 loc) · 1.01 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '{branch}-{build}'
os:
- Visual Studio 2017
services:
- postgresql96
configuration:
- Release
- Debug
environment:
PGUSER: postgres
PGPASSWORD: Password12!
matrix:
- GENERATOR: Visual Studio 15 2017 Win64
- CONAN_VISUAL_VERSIONS: 15
init: []
install: []
before_build:
- if defined BINDIR (set "PATH=%BINDIR%;%PATH:C:\Program Files\Git\usr\bin;=%")
- md build
- cd build
- cmake -Wno-dev --config "%CONFIGURATION%" -G "%GENERATOR%" ..
build_script:
- cmake --build . --config "%CONFIGURATION%"
test_script:
- PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
- ctest -C "%CONFIGURATION%" --output-on-failure
for:
-
matrix:
only:
- CONAN_VISUAL_VERSIONS: 15
environment:
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PYTHON: "C:\\Python37"
CONAN_BUILD_TYPES: "%CONFIGURATION%"
build: false
install:
- set PATH=%PATH%;%PYTHON%/Scripts/
- pip.exe install --upgrade conan conan_package_tools
test_script:
- python .conan/build.py