mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-17 05:12:13 +08:00
1481c4d379
This is a branch cleaning up old `#if` clauses, `.csproj` bits, Linux build compatibility, and a few other tid-bits (broken out by commit). In general: we're on 3.0 tooling and all previous cruft has been removed.
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
image: Visual Studio 2017
|
|
|
|
skip_branch_with_pr: true
|
|
skip_tags: true
|
|
skip_commits:
|
|
files:
|
|
- '**/*.md'
|
|
|
|
install:
|
|
- choco install dotnetcore-sdk --version 3.0.100
|
|
|
|
environment:
|
|
Appveyor: true
|
|
# Postgres
|
|
POSTGRES_PATH: C:\Program Files\PostgreSQL\9.6
|
|
PGUSER: postgres
|
|
PGPASSWORD: Password12!
|
|
POSTGRES_ENV_POSTGRES_USER: postgres
|
|
POSTGRES_ENV_POSTGRES_PASSWORD: Password12!
|
|
POSTGRES_ENV_POSTGRES_DB: test
|
|
# MySQL
|
|
MYSQL_PATH: C:\Program Files\MySql\MySQL Server 5.7
|
|
MYSQL_PWD: Password12!
|
|
MYSQL_ENV_MYSQL_USER: root
|
|
MYSQL_ENV_MYSQL_PASSWORD: Password12!
|
|
MYSQL_ENV_MYSQL_DATABASE: test
|
|
services:
|
|
- mssql2016
|
|
- mysql
|
|
- postgresql
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
- SET PATH=%POSTGRES_PATH%\bin;%MYSQL_PATH%\bin;%PATH%
|
|
|
|
nuget:
|
|
disable_publish_on_pr: true
|
|
|
|
build_script:
|
|
# Postgres
|
|
- createdb test
|
|
# MySQL
|
|
- mysql -e "create database test;" --user=root
|
|
# Our stuff
|
|
- ps: .\build.ps1 -PullRequestNumber "$env:APPVEYOR_PULL_REQUEST_NUMBER" -CreatePackages $true
|
|
|
|
test: off
|
|
artifacts:
|
|
- path: .\.nupkgs\*.nupkg
|
|
|
|
deploy:
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/stackoverflow/api/v2
|
|
on:
|
|
branch: master
|
|
api_key:
|
|
secure: P/UHxq2DEs0GI1SoDXDesHjRVsSVgdywz5vmsnhFQQY5aJgO3kP+QfhwfhXz19Rw
|
|
symbol_server: https://www.myget.org/F/stackoverflow/symbols/api/v2/package
|
|
- provider: NuGet
|
|
server: https://www.myget.org/F/dapper/api/v2
|
|
on:
|
|
branch: master
|
|
api_key:
|
|
secure: PV7ERAltWWLhy7AT2h+Vb5c1BM9/WFgvggb+rKyQ8hDg3fYqpZauYdidOOgt2lp4
|
|
symbol_server: https://www.myget.org/F/dapper/api/v2/package |