forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (28 loc) · 1.08 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
environment:
global:
GOPATH: c:\work\
KEYBASE_SERVER_URI: https://ci1.keybase.io
KEYBASE_LOG_SETUPTEST_FUNCS: 1
# clone directory
clone_folder: c:\work\src\github.com\keybase\client
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
#platform: Any CPU
# scripts to run before build
before_build:
# scripts to run after build
after_build:
# to run your custom scripts instead of automatic MSBuild
build_script:
- go version
- cd go\keybase
- go build
# to disable automatic builds
#build: off
# to run your custom scripts instead of automatic tests
test_script:
- cd ..
- go list ./... | find /V "vendor" > testlist.txt
- for /f %%i in (testlist.txt) do (appveyor AddTest %%i -Outcome Running -Framework gotest -Filename %%i & go test -timeout 50m %%i && appveyor UpdateTest %%i -Outcome Passed -Framework gotest -Filename %%i -Duration 0) || (appveyor UpdateTest %%i -Outcome Failed -Framework gotest -Filename %%i -Duration 0 & exit /b 1)