forked from Velocidex/velociraptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
31 lines (26 loc) · 945 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
28
29
30
31
version: 1.0.{build}
clone_depth: 1
clone_folder: c:\gopath\src\www.velocidex.com\golang\velociraptor
environment:
GOPATH: c:\gopath
PATH: C:\msys64\mingw64\bin;%GOPATH%\bin;%PATH%
VELOCIRAPTOR_CONFIG: artifacts\testdata\windows\test.config.yaml
install:
- cmd: |
echo %PATH%
echo %GOPATH%
go version
go env
go get github.com/golang/dep
go get -u github.com/golang/dep/cmd/dep
dep ensure
build_script:
- cmd: |
regedit /S artifacts/testdata/windows/init.reg
go run make.go -v windows
test_script:
- cmd: output\velociraptor.exe golden artifacts\testdata\windows\
- cmd: output\velociraptor.exe golden artifacts\testdata\server\testcases\
on_finish:
- ps: Get-ChildItem artifacts/testdata/windows/*.out.yaml | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem artifacts/testdata/server/testcases/*.out.yaml | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }