-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (29 loc) · 1.48 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
version: '{build}.0.0-dev'
configuration: Release
os: Visual Studio 2017
pull_requests:
do_not_increment_build_number: true
environment:
RavenServerDirectory: '%temp%\raven-server'
RavenServerDownloadDestinationFile: '%temp%\raven-server.zip'
RavenServerTestPath: '%RavenServerDirectory%\server\Raven.Server.dll'
init:
- ps: |
iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/f5b40256fc2ca77d49f1c7773d28406152544c1e/appveyor-build-info.ps'))
Write-Output "Lets see what all our Environmental variables are now defined as:"
Get-ChildItem Env:
Write-Output "Downloading RavenDb 4.0.0-rc-40025 ..."
(new-object net.webclient).DownloadFile('https://daily-builds.s3.amazonaws.com/RavenDB-4.0.0-rc-40025-windows-x64.zip', $env:RavenServerDownloadDestinationFile)
Write-Output "Unzipping RavenDb from $env:RavenServerDownloadDestinationFile to $env:RavenServerDirectory"
expand-archive -Path $env:RavenServerDownloadDestinationFile -DestinationPath $env:RavenServerDirectory
before_build:
# Display .NET Core version
- cmd: dotnet --info
# Display minimal restore text
- cmd: dotnet restore --verbosity quiet
build_script:
- dotnet build -c %CONFIGURATION% -v minimal /p:Version=%APPVEYOR_BUILD_VERSION% --no-restore
test_script:
- dotnet test -c %CONFIGURATION% -v minimal --no-restore --no-build
cache:
- packages -> **\packages.config