forked from 33cn/chain33
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
34 lines (26 loc) · 775 Bytes
/
appveyor.yml
File metadata and controls
34 lines (26 loc) · 775 Bytes
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
version: "{build}"
# Source Config
clone_folder: c:\gopath\src\github.com\33cn\chain33
# Build host
environment:
GOPATH: c:\gopath
DEPTESTBYPASS501: 1
GOVERSION: 1.12.7
GO111MODULE: on
#init:
# - git config --global core.autocrlf input
# Build
install:
# Install the specific Go version.
- rmdir c:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go%GOVERSION%.windows-amd64.msi
- msiexec /i go%GOVERSION%.windows-amd64.msi /q
# - choco install bzr
- set Path=c:\go\bin;c:\gopath\bin;C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\%Path%
- go version
- go env
build: false
deploy: false
test_script:
- build.bat
# - for /f "" %%G in ('go list github.com/33cn/chain33/...') do ( go test %%G & IF ERRORLEVEL == 1 EXIT 1)