-
Notifications
You must be signed in to change notification settings - Fork 93
/
appveyor.yml
27 lines (21 loc) · 903 Bytes
/
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
image: Visual Studio 2017
install:
- ps: $url = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.1.zip"
- ps: $output = "c:\Windows\temp\es.zip"
- ps: Invoke-WebRequest -Uri $url -OutFile $output
- ps: New-Item -ItemType 'Directory' -Path 'c:\Elasticsearch' -Force
- ps: 7z x C:\Windows\Temp\es.zip -oC:\Elasticsearch
- ps: $env:JAVA_HOME = 'C:\Program Files\Java\jdk1.8.0'
- ps: Start-Process -FilePath 'C:\Elasticsearch\elasticsearch-6.2.1\bin\elasticsearch.bat' -WorkingDirectory 'c:\Elasticsearch\elasticsearch-6.2.1\bin'
- ps: Start-Sleep -s 5
before_build:
- nuget restore src\log4net.ElasticSearch.sln
- psake Clean
build_script:
- psake Compile
test_script:
- psake Test
deploy_script:
- psake CreateNugetPackage
# - ps: $nugetFiles = Get-ChildItem ".\bin" -Filter *.nupkg
# - ps: Foreach ($file in $nugetFiles) { appveyor PushArtifact $file.FullName }