forked from Velocidex/velociraptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (30 loc) · 1.06 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
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
cache:
- c:\gopath\src\www.velocidex.com\golang\velociraptor\vendor -> Gopkg.lock
install:
- cmd: |
echo %PATH%
echo %GOPATH%
mklink c:\Users\link c:\Windows
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\
- cmd: go test ./...
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 }