forked from JasperFx/marten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (36 loc) · 1.19 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
# set version as running build number for CI build use
version: Build {build}
configuration: Release
os: Visual Studio 2017
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
marten_testing_database: "Host=localhost;Port=5432;Database=marten_test;Username=postgres;Password=Password12!"
POSTGRES_PATH: C:\Program Files\PostgreSQL\9.5
PG_PLV8_EXTENSION_ZIP_FILENAME: pg95plv8jsbin_w64
PG_DB: marten_test
services:
- postgresql95
install:
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
- ruby --version
- gem install bundler
- bundle config --local path vendor/bundle
- bundle install
- SET PATH=%POSTGRES_PATH%\bin;%PATH%
- curl -L -O -S -s http://www.postgresonline.com/downloads/%PG_PLV8_EXTENSION_ZIP_FILENAME%.zip
- 7z x %PG_PLV8_EXTENSION_ZIP_FILENAME%.zip
- xcopy /s /y /d %PG_PLV8_EXTENSION_ZIP_FILENAME% "%POSTGRES_PATH%\"
before_build:
- SET PGUSER=postgres
- SET PGPASSWORD=Password12!
- createdb %PG_DB%
- psql -d %PG_DB% -c "create extension if not exists plv8;"
- npm install
- dotnet --info
build_script:
- cmd: >-
rake ci
test: off
artifacts:
- path: '**\Marten.*.nupkg' # find all NuGet packages recursively